We noticed these sub-pixel artifacts during initial tests with the quickview images. They are not present when we do the downsampling of the full-res images with gaussian pyramid approach.
They were likely introduced during the resampling, and perhaps related to odd pixel dimensions when downscaling...
|
interpolation: int = cv2.INTER_LINEAR, |
I'm a little surprised, as I would hope that bilinear would be sufficient. Suggest using cubic (or ideally gaussian) when creating downsampled products in the future, and/or more carefully specifying subsampling factor and dimensions (as mentioned in #7).


Also important to specify downsampling factor of 20 was used to prepare the KH9 PC quickview images somewhere in the data document.
We noticed these sub-pixel artifacts during initial tests with the quickview images. They are not present when we do the downsampling of the full-res images with gaussian pyramid approach.
They were likely introduced during the resampling, and perhaps related to odd pixel dimensions when downscaling...
hipp/src/hipp/image.py
Line 80 in 961955a
I'm a little surprised, as I would hope that bilinear would be sufficient. Suggest using cubic (or ideally gaussian) when creating downsampled products in the future, and/or more carefully specifying subsampling factor and dimensions (as mentioned in #7).
Also important to specify downsampling factor of 20 was used to prepare the KH9 PC quickview images somewhere in the data document.