Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
Adding support for vector, RGB, and RGBA pixel types in wrapping
of itkNearestNeighborInterpolateImageFunction. This will allow,
for example, the wrapped ResampleImageFilter to be called with
an RGB/RGBA pixel type image and use an nearestneighbor interpolator.
Currently only the linear interpolator had RGB/RGBA wrapping.
No C++ code changes were needed.
Examples and tests already exist, e.g., ResampleImageFilterTest5 for RGBPixel type.
PR Checklist
[X] No API changes were made (or the changes have been approved)
Adding support for vector, RGB, and RGBA pixel types in wrapping of itkNearestNeighborInterpolateImageFunction. This will allow, for example, the wrapped ResampleImageFilter to be called with an RGB/RGBA pixel type image and use an nearestneighbor interpolator. Currently only the linear interpolator had RGB/RGBA wrapping.
No C++ code changes were needed.
Examples and tests already exist, e.g., ResampleImageFilterTest5 for RGBPixel type.
PR Checklist