ResampleToImage filter gives incorrect results at domain boundary depending on sampling settings
- Version : 5.8.0-RC3
- Platform : Windows 10
- Issue: When applying the ResampleToImage filter to a synthetic dataset in .raw format (float), different sampling values give different values at the boundaries of the domain.
See attached files : the "uttermost" point should always have a value of 24. This is the case with e.g. the sampling along y set to 99 or 101. However, for a sampling along y set to 100, the interpolated value drops to zero. I was hoping for a simple Visual glitch, but after exporting the resampled data in csv format, I could confirm that the values are wrong. (i.e. this is not a graphics issue).
input.raw export_50_99_150_with_visual_glitch.zip
Comparing the end of my csv files (see .zip):
Edit from @cory.quammen: To reproduce without the input.raw
file, add a Wavelet source and change its extent to [0, 1, 0, 2, 0, 3]. Then add a Resample to Image filter to it.
Edited by Cory Quammen