Start » Filter Reference » OpenCV » Image Filtering » cvBuildPyramid

cvBuildPyramid


Module: OpenCV

Constructs Gaussian pyramid for an image.

Name Type Range Description
Input value
inSrc Image Source image.
Input value
inMaxLevel Integer 0 - 0-based index of the last ,the smallest, pyramid layer. It must be non-negative.
Output value
outDst ImageArray Destination vector of maxLevel+1 images of the same type as src. dst[0] will be the same as src. dst[1] is the next pyramid layer, a smoothed and down-sized src, and so on.

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 Input image must have pixel type different from Int8 and Int32 in cvBuildPyramid.
DomainError Input image must not be empty in cvBuildPyramid.

Complexity Level

This filter is available on Basic Complexity Level.