Computes the normalized cross correlation between the source image and the template image.
This node modifies the source image. If you need the original source image, create a copy of the image using the Copy Image node before using this node.
Reference to the source image.
Reference to the template.
This image must be an 8-bit image. The center of the template is used as the origin for the correlation.
Reference to the destination image.
Four-element array that contains the left, top, right, and bottom coordinates of the region to process.
The right and bottom values are exclusive and lie outside the region. The node applies the operation to the entire image if optional rectangle is empty or not connected.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Reference to the destination.
If image dst is connected, image dst out is the same as image dst. Otherwise, image dst out refers to the image referenced by image. The Correlate node is an 8-bit image that contains the cross-correlation values normalized within the range [0, 255]. A value of 255 indicates a very high correlation and a value of 0 indicates no correlation.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application