RelativeOpNav.auto_estimate¶
giant.relative_opnav.relnav_class
:
- RelativeOpNav.auto_estimate(image_ind=None, include_targets=None)[source]¶
This method attempts to automatically determine the best RelNav technique to use for each image/target pair considered out of the most common RelNav techniques,
unresolved
,ellipse_matching
,cross_correlation
, andsfn
.The decision of which technique to use is made as follows:
The apparent diameter of the target in pixels in the image under consideration is predicted either using the bounding box for the target or the circumscribing sphere, if available.
If the predicted apparent diameter of the target is less than the
extended_body_cutoff
value then the target/image pair is processed using theunresolved
RelNav techniqueIf the predicted apparent diameter of the target is greater than the
extended_body_cutoff
value then the target/image pair is processed based on the type of object it isIf the target is a
Ellipsoid
then the target is processed usingellipse_matching
If the target is a
FeatureCatalogue
then the target is processed usingsfn
Otherwise the target is processed using
cross_correlation
- Parameters:
image_ind (int | None) – An index specifying which image to process or
None
to indicate that all turned on images should be processed.include_targets (List[bool] | None) – A list of booleans specifying which targets in the scene should be processed or
None
to indicate that all targets in the scene should be processed