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_correlation technique 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_correlation technique to each image/target pair are stored in the center_finding_results attribute. If the save_templates is set to true then this will also save the rendered templates the saved_templates attribute. Finally, this will save fit information for each image/target pair to the cross_correlation_details attribute.

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 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