ExpaintImage_Bornemann


Speculatively sets pixel values outside of a region using the fast marching method and coherence analysis.

Syntax

C++
C#
Python
 
def ExpaintImage_Bornemann(
	inImage: Image,
	inRegionToExpaint: Region,
	inExpaintingRadius: int,
	inRange: int,
	inPreSmoothing: float,
	inPostSmoothing: float,
	inSharpness: float,
	inLuminanceMode: LuminanceMode,
	outImage: Image,
	/
)
-> None

Parameters

Name Type Range Default Description
Input value inImage Image Input image
Input value inRegionToExpaint Region Part of the image to be expainted
Input value inExpaintingRadius int 1 - + How far to expaint from the region
Input value inRange int 1 - + Defines how far a pixel can be from one currently being inpainted to be considered in calculations
Input value inPreSmoothing float 0.0 - Standard deviation of a gaussian kernel used before inpainting calculations
Input value inPostSmoothing float 0.0 - Standard deviation of a gaussian kernel used after initial inpainting calculations
Input value inSharpness float 0.0 - Desired sharpness of edges inside of the inpainted region (higher = sharper)
Input value inLuminanceMode LuminanceMode Determines how the luminance of the input image will be computed
Output value outImage Image Output image