sarkit.sicd.rowcol_to_irowicol
- rowcol_to_irowicol(xmltree, rowcol)
Global Row, Column Indices (row, col) to SCP Pixel-Centered Image Indices (irow, icol)
- Parameters:
- xmltree
lxml.etree.ElementTree SICD metadata
- rowcol(…, 2) array_like
N-D array of indices with (row, col) in the last dimension
- xmltree
- Returns:
- (…, 2)
ndarray N-D array of indices with (irow, icol) 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.