Table of Contents

Method Laplacian

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Laplacian(InputArray, OutputArray, MatType, int, double, double, BorderTypes)

Calculates the Laplacian of an image

public static void Laplacian(InputArray src, OutputArray dst, MatType ddepth, int ksize = 1, double scale = 1, double delta = 0, BorderTypes borderType = BorderTypes.Default)

Parameters

src InputArray

Source image

dst OutputArray

Destination image; will have the same size and the same number of channels as src

ddepth MatType

The desired depth of the destination image

ksize int

The aperture size used to compute the second-derivative filters

scale double

The optional scale factor for the computed Laplacian values (by default, no scaling is applied

delta double

The optional delta value, added to the results prior to storing them in dst

borderType BorderTypes

The pixel extrapolation method