with the new wrappers for ITK 5.0 Beta and all the facilities with the new pythonic interface I was wondering how can I especify a filter’s output type on the parameters.
The idea is to change this:
rescaler = itk.RescaleIntensityImageFilter[itk.Image.UC2, itk.Image.US2].New()
into something like this:
rescaler = itk.rescale_intensity_image_filter(input_image, output_type=itk.Image.US2)
when I want to control the output type of a filter because the one he defaults to doesn’t fit the next one on the pipeline