Back to FabImage Library website
You are here: Start » Function Reference » Image Drawing » DrawRegionOfInterest
Header: | FIL.h |
---|---|
Namespace: | fil |
Draws a region of interest on an image.
Syntax
C++
C#
void fil::DrawRegionOfInterest ( fil::Image& ioImage, const fil::RegionOfInterest& inRoi, ftl::Optional<const fil::CoordinateSystem2D&> inRegionAlignment, const fil::Pixel& inColor, const float inOpacity )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioImage | Image& | ||||
![]() |
inRoi | const RegionOfInterest& | Range of pixels to be processed | ||
![]() |
inRegionAlignment | Optional<const CoordinateSystem2D&> | NIL | ||
![]() |
inColor | const Pixel& | |||
![]() |
inOpacity | const float | 0.0 - 1.0 |