AffineParams#

class sunkit_image.coalignment.interface.AffineParams(
scale: tuple[float, float] | list[float] | ndarray,
rotation_matrix: tuple[tuple[float, float], tuple[float, float]] | ndarray,
translation: tuple[float, float] | list[float] | ndarray,
)[source]#

Bases: object

A 2-element tuple containing scale values defining the image scaling along the x and y axes.

Attributes Summary

rotation_matrix

A 2-element tuple stores the translation of the image along the x and y axes.

scale

A 2x2 matrix defining the rotation transformation of the image.

translation

Attributes Documentation

rotation_matrix: tuple[tuple[float, float], tuple[float, float]] | ndarray = <dataclasses._MISSING_TYPE object>#

A 2-element tuple stores the translation of the image along the x and y axes.

scale: tuple[float, float] | list[float] | ndarray = <dataclasses._MISSING_TYPE object>#

A 2x2 matrix defining the rotation transformation of the image.

translation: tuple[float, float] | list[float] | ndarray = <dataclasses._MISSING_TYPE object>#