Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Basics » TestImage
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Returns a sample image.
Applications: Makes it possible to quickly present results of various image processing filters.
Syntax
C++
C#
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. |