<div dir="ltr"><div style="text-align: left;">Hi,<br><br>I'm trying to use "itkNearestNeighborInterpolateImageFunction" to perform subsampling on a binary image,<br>I got an image in the right size that preserved the original structure, but with many "holes".<br>
I thought "itkNearestNeighborInterpolateImageFunction" would be a good solution where working on binary images but I compared the results of "itkNearestNeighborInterpolateImageFunction"
to "LinearInterpolation" filter on the same binary image and they give
the same result.<br>( I used "LinearInterpolation" for subsampling of not-binary image and it works well).<br><br>I couldn't find the implementation for "itkNearestNeighborInterpolateImageFunction" (the txx file)<br>
Am I missing something?<br><br>Thank you,<br>Noah.<br><br><br></div></div>