You are here: Start » AVL.NET » AVS.ExpaintImage_Bornemann Method
AVS.ExpaintImage_Bornemann Method
Speculatively sets pixel values outside of a region using the fast marching method and coherence analysis.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ExpaintImage_Bornemann ( AvlNet.Image inImage, AvlNet.Region inRegionToExpaint, int inExpaintingRadius, int inRange, float inPreSmoothing, float inPostSmoothing, float inSharpness, AvlNet.LuminanceMode inLuminanceMode, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRegionToExpaint | AvlNet.Region | Part of the image to be expainted. | |||
inExpaintingRadius | int | <1, +INF> | 8 | How far to expaint from the region. Default value: 8. | |
inRange | int | <1, +INF> | 6 | Defines how far a pixel can be from one currently being inpainted to be considered in calculations. Default value: 6. | |
inPreSmoothing | float | <0.0f, INF> | 2.0f | Standard deviation of a gaussian kernel used before inpainting calculations. Default value: 2.0f. | |
inPostSmoothing | float | <0.0f, INF> | 3.0f | Standard deviation of a gaussian kernel used after initial inpainting calculations. Default value: 3.0f. | |
inSharpness | float | <0.0f, INF> | 35.0f | Desired sharpness of edges inside of the inpainted region (higher = sharper). Default value: 35.0f. | |
inLuminanceMode | AvlNet.LuminanceMode | YUV | Determines how the luminance of the input image will be computed. Default value: YUV. | ||
outImage | AvlNet.Image | Output image. |