geosolutions-it / jai-ext

Java Advanced Imaging Open Source Replacement Wannabe
Apache License 2.0
90 stars 38 forks source link

MosaicOpImage won't produce suitable outputs without alpha, ROI or NoData #225

Closed aaime closed 5 years ago

aaime commented 5 years ago

In case no other source selection mechanism is used (no alpha, no ROI, no NoData) the mosaic will simply generate in output its first input image, with padding. This is how it works:

The thresholds are not used at all (see #224) but regardless of that, the code should be checking the input raster extents and avoid pulling pixels out of extended pixels, shouldn't it?

aaime commented 5 years ago

Going to make it work over the original source rectangle, skipping pixel processing for sources that are not providing any actual value for the current position

aaime commented 5 years ago

Resolved in 1.1.x