Start » Filter Reference » OpenCV » Image Filtering » cvScharr

cvScharr


Module: OpenCV

Calculates the first x- or y- image derivative using Scharr operator.

Name Type Range Description
Input value
inSrc Image Source image.
Input value
inDDepth Integer* Destination image depth.
Input value
inXOrder Integer 0 - 1 Order of the derivative x.
Input value
inYOrder Integer 0 - 1 Order of the derivative y.
Input value
inScale Real Scale factor for the computed derivative values.
Input value
inDelta Real Delta value that is added to the results prior to storing them in dst.
Input value
inBorderType CvBorderType Pixel extrapolation method.
Output value
outDst Image Output image.

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 cvScharr.
DomainError Input image must not be empty in cvScharr.

Complexity Level

This filter is available on Basic Complexity Level.