Back to FabImage Library Lite website
You are here: Start » Image » Image Basics » TestImage
TestImage
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
Returns a sample image.
Applications: Makes it possible to quickly present results of various image processing filters.
Syntax
void fil::TestImage
(
fil::TestImageId::Type inImageId,
ftl::Optional<fil::Image&> outRgbImage = ftl::NIL,
ftl::Optional<fil::Image&> outMonoImage = ftl::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 ftl::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. |


