sarkit.sicd.irowicol_to_rowcol

irowicol_to_rowcol(xmltree, irowicol)

SCP Pixel-Centered Image Indices (irow, icol) to Global Row, Column Indices (row, col)

Parameters:
xmltreelxml.etree.ElementTree

SICD metadata

irowicol(…, 2) array_like

N-D array of indices with (irow, icol) in the last dimension

Returns:
(…, 2) ndarray

N-D array of indices with (row, col) in the last dimension

Notes

row, col are defined in SICD as only having integer values. This function allows them to have continuous values.