Laplacian算子

Laplacian算子

   

不利的方面:对噪音点比较敏感,

 

G=

            

 

 


Laplacian()
void cv::Laplacian     (     InputArray      src,
        OutputArray      dst,
        int      ddepth,
        int      ksize = 1,
        double      scale = 1,
        double      delta = 0,
        int      borderType = BORDER_DEFAULT
    )         
Python:
    dst    =    cv.Laplacian(    src, ddepth[, dst[, ksize[, scale[, delta[, borderType]]]]]    )

 


Parameters
    src    Source image.
    dst    Destination image of the same size and the same number of channels as src .
    ddepth    Desired depth of the destination image.
    ksize    Aperture size used to compute the second-derivative filters. See getDerivKernels for details. The size must be positive and odd.
    scale    Optional scale factor for the computed Laplacian values. By default, no scaling is applied. See getDerivKernels for details.
    delta    Optional delta value that is added to the results prior to storing them in dst .
    borderType    Pixel extrapolation method, see BorderTypes. BORDER_WRAP is not supported.

 

 

 

 

 

 

参考链接:

https://docs.opencv.org/master/d4/d86/group__imgproc__filter.html#gad78703e4c8fe703d479c1860d76429e6

 

posted @ 2021-03-21 13:57  蓝莓DeepL  阅读(123)  评论(0)    收藏  举报