Click or drag to resize

Cv2PencilSketch Method

Pencil-like non-photorealistic line drawing

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void PencilSketch(
	InputArray src,
	OutputArray dst1,
	OutputArray dst2,
	float sigmaS = 60f,
	float sigmaR = 0.07f,
	float shadeFactor = 0.02f
)

Parameters

src
Type: OpenCvSharpInputArray
Input 8-bit 3-channel image.
dst1
Type: OpenCvSharpOutputArray
Output 8-bit 1-channel image.
dst2
Type: OpenCvSharpOutputArray
Output image with the same size and type as src.
sigmaS (Optional)
Type: SystemSingle
Range between 0 to 200.
sigmaR (Optional)
Type: SystemSingle
Range between 0 to 1.
shadeFactor (Optional)
Type: SystemSingle
Range between 0 to 0.1.
See Also