Hello all
I want to apply max operator over two bands ‘CI_1’ and ‘CI_2’ ,contained in two different products ‘product_1’ and ‘product_2’, respetively. To this end, I first resampled both the images to same size and then merged the band ‘CI_2’ with ‘product_1’. Then I used BandMaths operator to take the pixel-wise maximum of the two images. The resampling procedure, however, creates misalignment of two bands, and, therefore, the resulting band obtained after max operator is undesirable: this problem is illustrated through figures below.
This is the band ‘CI_1’:im1.bmp (2.1 MB)
This is the band ‘CI_2’: im2.bmp (2.1 MB)
This is the final band after max operator: im3.bmp (2.1 MB)
Can anyone please suggest how to solve this problem?
One solution to this could be to pad the bands with additional pixels taking the values NaN such that each band has same size. But I do not know how to do it either.
Best
Abhinav Gupta.