SlicerTorchIO icon indicating copy to clipboard operation
SlicerTorchIO copied to clipboard

Add missing transforms

Open phcerdan opened this issue 3 years ago • 4 comments

🚀 Feature Add all the transforms of torchio to Slicer.

Motivation Slicer is very useful for testing/visualization.

phcerdan avatar Dec 11 '21 11:12 phcerdan

Hi, @phcerdan. Would you like to contribute? Is there any specific transform you'd like to see in the module?

fepegar avatar Dec 11 '21 12:12 fepegar

Hi @fepegar, I am mostly interested in the RescaleIntensity transform to play with percentiles.

Would you like to contribute?

I would love too, I might find some time on January.

phcerdan avatar Dec 12 '21 23:12 phcerdan

I would love too, I might find some time on January.

I've started a PR, feel free to keep working on that when you can. At the moment, the masking_method and in_min_max kwargs are ignored, and the contrast window of the image is not updated automatically after applying the transform.

fepegar avatar Dec 13 '21 10:12 fepegar

That's great @fepegar, thanks! I will work on top of that.

phcerdan avatar Dec 13 '21 10:12 phcerdan