You are here: Start » AVL.NET » AVS.InpaintImage_Bornemann Method

AVS.InpaintImage_Bornemann Method

Fills in a region of an image with pixel values interpolated from the borders of the area; uses fast marching method and coherence analysis.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void InpaintImage_Bornemann
(
	AvlNet.Image inImage,
	AvlNet.Region inRegionToInpaint,
	int inRange,
	float inPreSmoothing,
	float inPostSmoothing,
	float inSharpness,
	AvlNet.LuminanceMode inLuminanceMode,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRegionToInpaintAvlNet.Region
inRangeint<1, +INF>6Defines how far a pixel can be from one currently being inpainted to be considered in calculations. Default value: 6.
inPreSmoothingfloat<0.0f, INF>2.0fStandard deviation of a gaussian kernel used before inpainting calculations. Default value: 2.0f.
inPostSmoothingfloat<0.0f, INF>3.0fStandard deviation of a gaussian kernel used after initial inpainting calculations. Default value: 3.0f.
inSharpnessfloat<0.0f, INF>35.0fDesired sharpness of edges inside of the inpainted region (higher = sharper). Default value: 35.0f.
inLuminanceModeAvlNet.LuminanceModeYUVDetermines how the luminance of the input image will be computed. Default value: YUV.
outImageAvlNet.ImageOutput image.

See also