Open gab1one opened 6 years ago
When resizing UnsignedByteType images there can be over and underflows when are downsampled using "Linear Interpolation" or "Lanczos Interpolation" , this seems to be a problem either upstream, or in our usage of the upstream code. I tried switching to the ImageJ-ops implementation, but it has the same problem. Problematic code can be found here: https://github.com/knime-ip/knip/blob/master/org.knime.knip.base/src/org/knime/knip/base/nodes/proc/resizer/ResizerNodeFactory.java#L394-L403
This example workflow demonstrates the problem ImageResizer-over_underflow.zip
When resizing UnsignedByteType images there can be over and underflows when are downsampled using "Linear Interpolation" or "Lanczos Interpolation" , this seems to be a problem either upstream, or in our usage of the upstream code. I tried switching to the ImageJ-ops implementation, but it has the same problem. Problematic code can be found here: https://github.com/knime-ip/knip/blob/master/org.knime.knip.base/src/org/knime/knip/base/nodes/proc/resizer/ResizerNodeFactory.java#L394-L403
This example workflow demonstrates the problem ImageResizer-over_underflow.zip