Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » OpenCV » Structural Analysis and Shape Descriptors » cvMatchShapes_Images

cvMatchShapes_Images


Module: OpenCV

Compares two shapes.

Name Type Description
inImage1 Image First grayscale image.
inImage2 Image Second grayscale image.
inMethod CvShapeMatchingMethod Comparison method.
inParameter Real Method-specific parameter.
outScore Real

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 Both input images must be single-channel in cvMatchShapes_Images.
DomainError Only UInt8 and Real pixel types are supported in cvMatchShapes_Images.

Complexity Level

This filter is available on Basic Complexity Level.