Jianxu Chen
Jianxu Chen
@thewtex and @oeway This new function is so cool!!!! I have a question about the using itkwidgets on colab. Here is a working example I made for testing the viewer...
Currently, it is living in a large code base. I will try to make a short reproducible example
any plan of adding this to torchio as a native transformation?
hmm... interesting. I want to give it shot and try to make a PR.
@fepegar While I look more in the details, I have a slightly different idea for implementation: https://github.com/fepegar/torchio/blob/main/torchio/transforms/preprocessing/spatial/crop_or_pad.py#L165 The current method for CropOrPad, when cropping, always do a center cropping. What...
> Sure, I guess that could work too, and might be faster. But to be consistent with the rest of the library, it should be a new transform called `RandomCrop`...
**Why random padding is needed?** It is necessary for classification problems. You can find one example here: https://github.com/AllenCell/image_classifier_3d/blob/master/image_classifier_3d/data_loader/universal_loader.py#L224 In the example above, we need to build a 3D mitotic classifier...
WIP, will add unit test shortly
We really appreciate your fix. Our github repo is a one-way mirror from our internal bitbucket. So, we cannot directly take public PR from github. However, we just figured out...
further error message: ``` Using cached pyradiomics-3.0.1.tar.gz (34.5 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: numpy>=1.9.2 in ./opt/anaconda3/envs/validomics_dev/lib/python3.8/site-packages (from pyradiomics) (1.24.3) Collecting SimpleITK>=0.9.1 Downloading SimpleITK-2.2.1-cp38-cp38-macosx_10_9_x86_64.whl (45.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━...