Click or drag to resize

CvInvokeTextureFlattening Method

http://www.emgu.com
By retaining only the gradients at edge locations, before integrating with the Poisson solver, one washes out the texture of the selected region, giving its contents a flat aspect. Here Canny Edge Detector is used.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void TextureFlattening(
	IInputArray src,
	IInputArray mask,
	IOutputArray dst,
	float lowThreshold = 30f,
	float highThreshold = 45f,
	int kernelSize = 3
)

Parameters

src
Type: Emgu.CVIInputArray
Input 8-bit 3-channel image.
mask
Type: Emgu.CVIInputArray
Input 8-bit 1 or 3-channel image.
dst
Type: Emgu.CVIOutputArray
Output image with the same size and type as src.
lowThreshold (Optional)
Type: SystemSingle
Range from 0 to 100.
highThreshold (Optional)
Type: SystemSingle
Value > 100
kernelSize (Optional)
Type: SystemInt32
The size of the Sobel kernel to be used.
See Also