Back to Aurora Vision Library website
	
 
	
                
                    
	
		
	You are here: Start » Function Reference » Image » Image Basics » TestImage
| Header: | AVL.h | 
|---|---|
| Namespace: | avl | 
| Module: | FoundationLite | 
Returns a sample image.
Applications: Makes it possible to quickly present results of various image processing filters.
Syntax
C++
C#
void avl::TestImage
(
	avl::TestImageId::Type inImageId,
	atl::Optional<avl::Image&> outRgbImage = atl::NIL,
	atl::Optional<avl::Image&> outMonoImage = atl::NIL
)
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]()  | 
				inImageId | TestImageId::Type | ID of test image | |
![]()  | 
				outRgbImage | Optional<Image&> | NIL | Output color image | 
![]()  | 
				outMonoImage | Optional<Image&> | NIL | Output mono image | 
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outRgbImage, outMonoImage.
Read more about Optional Outputs.
Errors
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | This image is not available in your region. | 


