Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » OpenCV » Video Analysis » cvSegmentMotion
Module: | OpenCV |
---|
Splits a motion history image into a few parts corresponding to separate independent motions.
Name | Type | Range | Description | |
---|---|---|---|---|
inMhi | Image | REAL, single-channel motion history image. | ||
inTimestamp | Real | 0.0 - | Current time in milliseconds or other units. | |
inSegThresh | Real | 0.0 - | Segmentation threshold that is recommended to be equal to the interval between motion history "steps" or greater. | |
outSegMask | Image | Image where the found mask is stored. | ||
outRegions | RegionArray | Array containing ROIs of motion connected components. |
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 | History image must be REAL single-channel in cvSegmentMotion. |
Complexity Level
This filter is available on Basic Complexity Level.