| MatLaplacian Method |
Calculates the Laplacian of an image
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public Mat Laplacian(
MatType ddepth,
int ksize = 1,
double scale = 1,
double delta = 0,
BorderTypes borderType = BorderTypes.Reflect101
)
Public Function Laplacian (
ddepth As MatType,
Optional ksize As Integer = 1,
Optional scale As Double = 1,
Optional delta As Double = 0,
Optional borderType As BorderTypes = BorderTypes.Reflect101
) As Mat
public:
Mat^ Laplacian(
MatType ddepth,
int ksize = 1,
double scale = 1,
double delta = 0,
BorderTypes borderType = BorderTypes::Reflect101
)
member Laplacian :
ddepth : MatType *
?ksize : int *
?scale : float *
?delta : float *
?borderType : BorderTypes
(* Defaults:
let _ksize = defaultArg ksize 1
let _scale = defaultArg scale 1
let _delta = defaultArg delta 0
let _borderType = defaultArg borderType BorderTypes.Reflect101
*)
-> Mat
Parameters
- ddepth
- Type: OpenCvSharpMatType
The desired depth of the destination image - ksize (Optional)
- Type: SystemInt32
The aperture size used to compute the second-derivative filters - scale (Optional)
- Type: SystemDouble
The optional scale factor for the computed Laplacian values (by default, no scaling is applied - delta (Optional)
- Type: SystemDouble
The optional delta value, added to the results prior to storing them in dst - borderType (Optional)
- Type: OpenCvSharpBorderTypes
The pixel extrapolation method
Return Value
Type:
MatDestination image; will have the same size and the same number of channels as src
See Also