AngleSelect¶
-
class
imgreg.models.angleselect.solver.
AngleSelect
(img: numpy.ndarray, ref_img: numpy.ndarray, angle_a: float, angle_b: float, upsampling: int = 10)[source]¶ Implements a model for angle selection
- Parameters
- imgnumpy.ndarray
The input image (one color channel only).
- ref_imgnumpy.ndarray
The reference image (one color channel only).
- angle_a, angle_bfloat
Candidate angles A and B in degrees
- upsamplingint
Upsampling factor.
1 => no upsampling, 20 => precision to 1/20 of a pixel.
Notes
The model implements the following dependency graph to construct it’s Parameters.
Methods
__init__
(img, ref_img, angle_a, angle_b[, …])Initialize self.
display
(param_list[, title])Fancy plot functionality for registered ImageParameters.
dot_graph
([node_args_func])Return a dot graph representation of the solver model.