You are here: Start » FIL.NET » Function Reference » Image » Image Enhancement » FIL.ExpaintImage_Telea
Speculatively sets pixel values outside of a region using the fast marching method.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ExpaintImage_Telea ( FilNet.Image inImage, FilNet.Region inRegionToExpaint, int inExpaintingRadius, int inRange, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRegionToExpaint | FilNet.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. |
![]() | outImage | FilNet.Image | Output image. |
Description
This filter expaints a region of an image by inExpaintingRadius pixels using the fast marching method. It is a simper version of ExpaintImage_Bornemann.
Examples
![]() |
![]() |
![]() |
Comparison between low and high values of inRange. From the left: input, output with inRange = 4, output with inRange = 12
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Expainting region (inRegionToExpaint) exceeds the image in ExpaintImage_Telea. |
DomainError | No pixels available at the edge of inRegionToExpaint in ExpaintImage_Telea. |