Corregistrator
siapy.transformations.corregistrator
¶
map_affine_approx_2d
¶
map_affine_approx_2d(
points_ref: ndarray, points_mov: ndarray
) -> ndarray
Affine transformation
Source code in siapy/transformations/corregistrator.py
16 17 18 19 20 |
|
affine_matx_2d
¶
affine_matx_2d(
scale: tuple[float, float] | Sequence[float] = (1, 1),
trans: tuple[float, float] | Sequence[float] = (0, 0),
rot: float = 0,
shear: tuple[float, float] | Sequence[float] = (0, 0),
) -> ndarray
Create arbitrary affine transformation matrix
Source code in siapy/transformations/corregistrator.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|
align
¶
align(
pixels_ref: Pixels,
pixels_mov: Pixels,
*,
eps: float = 1e-06,
max_iter: int = 50,
plot_progress: bool = False,
) -> tuple[ndarray, ndarray]
Align interactive corresponding points
Source code in siapy/transformations/corregistrator.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
|
transform
¶
transform(pixels: Pixels, transformation_matx: ndarray)
Transform pixels
Source code in siapy/transformations/corregistrator.py
100 101 102 103 104 |
|