You are here: Start » FIL.NET » FIS.InpaintImage_Bornemann Method
FIS.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: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void InpaintImage_Bornemann ( FilNet.Image inImage, FilNet.Region inRegionToInpaint, int inRange, float inPreSmoothing, float inPostSmoothing, float inSharpness, FilNet.LuminanceMode inLuminanceMode, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRegionToInpaint | FilNet.Region | |||
![]() | 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 | FilNet.LuminanceMode | YUV | Determines how the luminance of the input image will be computed. Default value: YUV. | |
![]() | outImage | FilNet.Image | Output image. |