Skip to content

How to handle separate image parts #23

@FedericoCarotenuto

Description

@FedericoCarotenuto
  • arosics version: 1.9.0
  • Python version: 3.10.11
  • Operating System: Windows 10 Enterprise

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

from arosics import COREG
im_reference='path/to/reference/reference.dat'
im_target='path/to/target/target.dat
CR = COREG(im_reference,im_target,path_out='auto',ws=(1000,1000),max_iter=10,max_shift=5000)

Calculating footprint polygon and actual data corner coordinates for reference image...
Polygonize progress     |==================================================| 100.0% Complete  => 0:00:13
Bounding box of calculated footprint for reference image:
	(8.59946497, 39.755379260520726, 8.602139895096082, 39.7569057540526)
Automatically detected nodata value for GeoArray_CoReg 'multi_0r100_96_banda550_ROI2': 0.0
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Polygonize progress     |==================================================| 100.0% Complete  => 0:00:01
C:\Users\Modelstation\anaconda3\envs\geospat\lib\site-packages\arosics\CoReg.py:131: UserWarning: The footprint of the image to be shifted contains multiple separate image parts. AROSICS will only process the largest image part.
  warnings.warn('The footprint of the %s contains multiple separate image parts. '
Bounding box of calculated footprint for image to be shifted:
	(8.60030944, 39.755828594898944, 8.600481910600001, 39.755989860377824)
Matching window position (X,Y): 8.600379388116444/39.7559138623294

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions