Open DesperationSoftware opened 1 year ago
Could you post an RGB screenshot of the target image?
Unfortunately RGB no because it's a single band, but I think I see the problem now. The image is a strip of land imaged by a UAV and there are parts where, due to geometric errors, the strip is interrupted by small sections of no data value. I guess that AROSICS finds these sections of separated data values and considers them separate parts. In fact, this does not happen in the reference image which does not have these kind of artefacts.
That is exactly the problem, yes. AROSICS is mainly written for satellite image data which usually not consist of several large parts but in some cases may have some fragmented data (very small parts) for which it does not make sense to compute any tie points. Therefore, AROSICS only computes them for the largest part at the moment.
However, it would make sense to consider the number of pixels in every part to make sure only small parts are skipped. I will see if I can improve that if I have some time left. As a workaround, you can simply disable the automatic footprint computation by setting the calc_corners
parameter to False. This may slow down the computation time but allows you to compute a result.
Description
I was trying to coregister two image on my hard-drive. The two images are single band and in ENVI format (.dat + .hdr) and as far as I know they are whole continuous rasters. The polygonization for the reference image goes smoothly, but for the target image I do receive this warning message: "UserWarning: The footprint of the image to be shifted contains multiple separate image parts. AROSICS will only process the largest image part.".
What does this mean? What are these "image parts" and how should I address this?
What I Did