sarkit.sicd.xrowycol_to_rowcol
- xrowycol_to_rowcol(xmltree, xrowycol)
SCP Centered Image Coordinates (xrow, ycol) to Global Row, Column Indices (row, col)
- Parameters:
- xmltree
lxml.etree.ElementTree SICD metadata
- xrowycol(…, 2) array_like
N-D array of indices with (xrow, yol) in the last dimension
- xmltree
- Returns:
- (…, 2)
ndarray N-D array of indices with (row, col) in the last dimension
- (…, 2)
Notes
row, col are defined in SICD as only having integer values. This function allows them to have continuous values.