Start » Filter Reference » OpenCV » Image Filtering » cvLaplacian
Module: | OpenCV |
---|
Calculates the Laplacian of an image.
Name | Type | Range | Description | |
---|---|---|---|---|
inSrc | Image | Source image. | ||
inDDepth | Integer* | Desired depth of destination image. The NIL value means that it has the same depth as source image. | ||
inKSize | Integer | 1 - 31 | Aperture size used to compute the second-derivative filters. The size must be positive and odd. | |
inScale | Real | Scale factor for the computed Laplacian values. | ||
inDelta | Real | Delta value that is added to the results prior to storing them. | ||
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 | inKSize must be odd and not larger than 31 in cvLaplacian. |
DomainError | Input image must not be empty in cvLaplacian. |
DomainError | Type of pixel of input image must be float or UINT8 in cvLaplacian. |
Complexity Level
This filter is available on Basic Complexity Level.