Ortho-rectification and projection
- ortho.read_GRP_table(file_path: str, grp: GRP = GRP(pts=array([], shape=(0, 5), dtype=float64), area=0, pixel_area=0, estimated_pixel_size=0, roi=None)) GRP[source]
Create or append a GRP table from a file
- ortho.projection_method(method: AvailableProjection, *args) ProjectionMethod[source]
Create a new projection method from arguments
- ortho.image_mapping(method: ProjectionMethod, params: OrthoImageParams) ImageMapping[source]
Create a new image mapping method from Ortho-image parameters using Projection method
- ortho.build_orthoimages(fs_in: FrameStack, im_map: ImageMapping) OrthoFrameStack | None[source]
Compute ortho-images from a given FrameStack using an ImageMapping object
- ortho.ij_to_xy(i_row: float | ndarray, j_col: float | ndarray, params: OrthoImageParams | float | ndarray, method: ProjectionMethod | None = None) tuple[float | ndarray, float | ndarray][source]
Compute spatialized position (X,Y) from a pixel position (I_row,J_col) Project Method is optional (None for orthoimage pixel coordinates)