mOverlaps

montage_wrapper.commands.mOverlaps(images_table, diffs_table, exact=False, debug_level=None, status_file=None)[source] [edit on github]

Analyze an image metadata table to determine a list of overlapping images. Each image is compared with every other image to determine all overlapping image pairs. A pair of images are deemed to overlap if any pixel around the perimeter of one image falls within the boundary of the other image.

Parameters:

images_table : str

Table of image metadata generated by mImgtbl.

diffs_table : str

Path of output table to be generated containing overlap information.

exact : bool, optional

Enables ‘exact’ overlaps mode, as opposed to the default approximate algorithm. The default mode uses great-circle connecting lines between image corners to determine which images overlap. Exact mode will instead check the edge pixels of every image to determine which pixels are inside the others. Although the default mode will occasionally report some incorrect overlaps, this is not a concern since mDiff will detect and ignore these false positive results when processing the table.

debug_level : int, optional

Turns on debugging to the specified level (1 or 2)

status_file : str, optional

Output and errors are sent to status_file instead of to stdout