Closed brancomat closed 3 years ago
Confirmed, I managed to reproduce it
Ok, losing imresize (see #23) we need a function that does both contrast stretch and occasionally image resize.
The imresize implementation did a lot of work. We unfortunately cannot use skimage because, as usual, of Centos.
I'll try to retrofit a custom implementation, and I cannot guarantee there won't be a little loss of image quality as a consequence of "custom": it's not really my field.
After some analysis, the best option would be if the products
script could test for imresize
or skimage
presence, and then use the one that's present in the system.
Tried with test data available here: https://github.com/ARPA-SIMC/qc_sample_data/tree/master/satellite/hrit