ConstraintMatchingOptions¶
giant.relative_opnav.estimators.constraint_matching:
This dataclass serves as one way to control the settings for the
ConstraintMatchingclass.You can set any of the options on an instance of this dataclass and pass it to the
ConstraintMatchingclass at initialization (or through the methodConstraintMatching.apply_options()) to set the settings on the class. This class is the preferred way of setting options on the class due to ease of use in IDEs.- Parameters:
match_against_template (bool)
match_across_images (bool)
min_constraints (int)
compute_constraint_positions (bool)
brdf (IlluminationModel)
grid_size (int)
template_overflow_bounds (int)
max_time_difference (timedelta | None)
feature_matcher (FeatureMatcher)
A flag to match keypoints between the image and a rendered template.
A flag to match keypoints across multiple images.
Minimum number of matched constraints in order for the constraint matching to be considered successful.
A flag to compute the constraint target-fixed positions.
The illumination model that transforms the geometric ray tracing results (see
ILLUM_DTYPE) into an intensity values. Typically this is one of the options from theilluminationmodule).
The rays to use when rendering the template. If
Nonethen the rays required to render the template will be automatically computed. Optionally, a list ofRaysobjects where each element corresponds to the rays to use for the corresponding template in theScene.target_objslist. Typically this should be left asNone.
The subsampling to use per pixel when rendering the template. This should be the number of sub-pixels per side of a pixel (that is if grid_size=3 then subsampling will be in an equally spaced 3x3 grid -> 9 sub-pixels per pixel). If
raysis not None then this is ignored
The number of pixels to render in the template that overflow outside of the camera field of view. Set to a number less than 0 to accept all overflow pixels in the template. Set to a number greater than or equal to 0 to limit the number of overflow pixels.
Maximum time difference between image observation dates for keypoints to be matched between images. Set to a datetime.timedelta type. If None, then a maximum time difference will not be applied.
The feature matcher instance to use