Start » Filter Reference » OpenCV » Structural Analysis and Shape Descriptors » cvHuMoments
Module: | OpenCV |
---|
Calculates Hu moments of the image.
Name | Type | Description | |
---|---|---|---|
![]() |
inSrc | Image | |
![]() |
inBinaryImage | Bool | |
![]() |
outHuMoments | RealArray |
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 | Filter supports only single channel pixels of type float or UINT8 in cvHuMoments. |
Complexity Level
This filter is available on Basic Complexity Level.