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



