RelativeOpNav.cross_correlation_estimate¶
giant.relative_opnav.relnav_class:
- RelativeOpNav.cross_correlation_estimate(image_ind=None, include_targets=None)[source]¶
This method loops applies the
cross_correlationtechnique to image/target pairs.This method does nothing to check if it makes sense to apply the cross correlation technique to each pair, it just attempts to and if something fails then the results are recorded appropriately. If you are looking for something that will attempt to automatically choose the right technique to use for each image/target pair, see the
auto_estimate()method instead.The results from applying the
cross_correlationtechnique to each image/target pair are stored in thecenter_finding_resultsattribute. If thesave_templatesis set to true then this will also save the rendered templates thesaved_templatesattribute. Finally, this will save fit information for each image/target pair to thecross_correlation_detailsattribute.This method dispatches to the
default_estimator()method which provides more details on what is happening.- Parameters:
image_ind (int | None) – An index specifying which image to process or
Noneto 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
Noneto indicate that all targets in the scene should be processed