Back to Aurora Vision Studio website

You are here: Start » Filter Reference » OpenCV » Motion Analysis and Object Tracking » cvPhaseCorrelate

cvPhaseCorrelate


Module: OpenCV

The function is used to detect translational shifts that occur between two images.

Name Type Description
Input value inSrc1 Image First input image.
Input value inSrc2 Image Second input image of the same type as src1.
Input value inUseHanningWindow Bool The window size specifications
Output value outShift Point2D Detected phase shift (sub-pixel) between the two arrays.

Requirements

For input inSrc1 only pixel formats are supported: 1⨯real.

For input inSrc2 only pixel formats are supported: 1⨯real.

Read more about pixel formats in Image documentation.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not supported inSrc1 pixel format in AvsFilter_cvPhaseCorrelate. Supported formats: 1xReal.
DomainError Not supported inSrc2 pixel format in AvsFilter_cvPhaseCorrelate. Supported formats: 1xReal.

Complexity Level

This filter is available on Basic Complexity Level.