darsia.GeneralizedPerspectiveCorrection#
- class GeneralizedPerspectiveCorrection(coordinatesystem_src, coordinatesystem_dst, pts_src, pts_dst, fit_options={})[source]#
Bases:
TransformationCorrectionClass for applying generalized perspective transformation to images.
Methods
correct_array(array_src)Correction routine of array data.
correct_metadata([metadata])Extract metadata from the config file.
load(path)save(path)Attributes
coordinatesystem_srcCoordinate system of source image.
coordinatesystem_dstCoordinate system of destination image.
transformationTransformation to apply as correction.