If true then all channels will be processed independently and then joined to build the result. The only exception is when there are 4 channels and in this case, if channels===true, the last 4th channel will be omitted (alpha). If an array of numbers is given then those channels will be processed only. If not given then the operation will behave normally, processing as single channel image.
the output image dept. (-1 to use src.depth()).
Optional delta value that is added to the results prior to storing them in dst .
Output image. If not given it will be created. Note that you can give [src] as output image in which case the input image will be written.
Applies only for Scharr and Sobel (and are mandatory in that case). Also must less than 3
Applies only for Scharr and Sobel (and are mandatory in that case)
Transformation (blurring) kernel size. In general only odd numbers greater than 2 are accepted.
Optional scale factor for the computed Laplacian values. By default, no scaling is applied. See getDerivKernels for details.
Input image.
Generated using TypeDoc
border mode used to extrapolate pixels outside of the image, see [BorderTypes].