Start » Filter Reference » OpenCV » Image Filtering » cvScharr
Module: | OpenCV |
---|
Calculates the first x- or y- image derivative using Scharr operator.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inSrc | Image | Source image. | |
![]() |
inDDepth | Integer* | Destination image depth. | |
![]() |
inXOrder | Integer | 0 - 1 | Order of the derivative x. |
![]() |
inYOrder | Integer | 0 - 1 | Order of the derivative y. |
![]() |
inScale | Real | Scale factor for the computed derivative values. | |
![]() |
inDelta | Real | Delta value that is added to the results prior to storing them in dst. | |
![]() |
inBorderType | CvBorderType | Pixel extrapolation method. | |
![]() |
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.