Start » Filter Reference » Image » Image Enhancement » ExpaintImage_Telea

ExpaintImage_Telea


Module: FoundationPro

Speculatively sets pixel values outside of a region using the fast marching method.

Name Type Range Description
Input value
inImage Image Input image
Input value
inRegionToExpaint Region Part of the image to be expainted
Input value
inExpaintingRadius Integer 1 - + How far to expaint from the region
Input value
inRange Integer 1 - + Defines how far a pixel can be from one currently being inpainted to be considered in calculations
Output value
outImage 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

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

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.

Complexity Level

This filter is available on Expert Complexity Level.

Filter Group

This filter is member of ExpaintImage filter group.

See Also

  • InpaintImage – Fills in a region of an image with pixel values interpolated from the borders of the area.
  • InpaintImage_Telea – Fills in a region of an image with pixel values interpolated from the borders of the area; uses fast marching method.
  • InpaintImage_Bornemann – Fills in a region of an image with pixel values interpolated from the borders of the area; uses fast marching method and coherence analysis.
  • ExpaintImage_Bornemann – Speculatively sets pixel values outside of a region using the fast marching method and coherence analysis.