InpaintImage
Fills in a region of an image with pixel values interpolated from the borders of the area.
Applications:Speculative setting of unknown (or unwanted) pixels. Usually used for preparing incomplete images for further processing.
Syntax
C++
C#
Python
def InpaintImage( ioImage: Image, inRegionToInpaint: ShapeRegion, /, *, inLambda: float = 0.5, inRoiAlignment: CoordinateSystem2D | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioImage | Image | |||
![]() |
inLambda | float | 0.0 - 1.0 | 0.5 | Ratio between vertical and horizontal interpolation |
![]() |
inRegionToInpaint | ShapeRegion | Region to be inpainted | ||
![]() |
inRoiAlignment | CoordinateSystem2D | None | None | Adjusts the region |


