darsia.TransformationCorrection#
- class TransformationCorrection(coordinatesystem_src, coordinatesystem_dst, transformation)[source]#
Bases:
BaseCorrectionClass for applying a transformation to an image as correction.
Methods
correct_array(array_src)Correction routine of array data.
correct_metadata([metadata])Correction routine on metadata level.
load(path)save(path)Attributes
Coordinate system of source image.
Coordinate system of destination image.
Transformation to apply as correction.
- correct_array(array_src)[source]#
Correction routine of array data.
- Parameters:
- array_src
np.ndarray Array corresponding to some source image.
- array_src
- Returns:
np.ndarrayArray corresponding to some destination image.
- coordinatesystem_dst#
Coordinate system of destination image.
- coordinatesystem_src#
Coordinate system of source image.
- transformation#
Transformation to apply as correction.