Click or drag to resize
CvInvokeTextureFlattening Method
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: (
public static void TextureFlattening(
	IInputArray src,
	IInputArray mask,
	IOutputArray dst,
	float lowThreshold = 30f,
	float highThreshold = 45f,
	int kernelSize = 3


Type: Emgu.CVIInputArray
Input 8-bit 3-channel image.
Type: Emgu.CVIInputArray
Input 8-bit 1 or 3-channel image.
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