Back to Adaptive Vision Library website

You are here: Start » Function Reference » All Functions » Image Drawing » DrawCrosshairs_SingleColor

DrawCrosshairs_SingleColor


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: AVL.h
Namespace: avs
Module: FoundationLite

Draws crosshairs on an image with a single colors.

Syntax

void avs::DrawCrosshairs_SingleColor
(
	const avl::Image& inImage,
	const atl::Conditional<const atl::Array<atl::Conditional<avl::Location>>&> inLocations,
	atl::Optional<const avl::CoordinateSystem2D&> inLocationAlignment,
	const avl::Pixel& inColor,
	const avl::DrawingStyle& inDrawingStyle,
	const bool inForceRgb,
	const avl::CrosshairShape::Type inCrosshairShape,
	avl::Image& outImage
)

Parameters

Name Type Default Description
inImage const Image& Input image
inLocations const Conditional<const Array<Conditional<Location>>&> { }
inLocationAlignment Optional<const CoordinateSystem2D&> NIL
inColor const Pixel&
inDrawingStyle const DrawingStyle& DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 5.0f Filled: False PointShape: Nil PointSize: 50.0f )
inForceRgb const bool True Filter will convert monochromatic image to RGB if needed
inCrosshairShape const CrosshairShape::Type RoundFrame
outImage Image& Output image

In-place Processing

This function supports in-place data processing - you can pass the same reference to inImage and outImage

Read more about In-place Computation.