Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Enhancement » ExpaintImage_Telea
ExpaintImage_Telea
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
Speculatively sets pixel values outside of a region using the fast marching method.
Syntax
C++
C#
void avl::ExpaintImage_Telea ( const avl::Image& inImage, const avl::Region& inRegionToExpaint, const int inExpaintingRadius, const int inRange, avl::Image& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | const Image& | Input image | |||
inRegionToExpaint | const Region& | Part of the image to be expainted | |||
inExpaintingRadius | const int | 1 - + | 8 | How far to expaint from the region | |
inRange | const int | 1 - + | 6 | Defines how far a pixel can be from one currently being inpainted to be considered in calculations | |
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
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. |
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.