Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image Point Transforms » AvsFilter_LogarithmImage

AvsFilter_LogarithmImage


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

Computes a natural logarithm of each pixel.

Syntax

void avs::AvsFilter_LogarithmImage
(
	AvsFilters_ImagePointTransformsState& ioState,
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	atl::Optional<const float&> inScale,
	float inOffset,
	bool inNormalizeZero,
	avl::Image& outImage,
	avl::Profile& diagLutProfile
)

Parameters

Name Type Range Default Description
ioState AvsFilters_ImagePointTransformsState& Object used to maintain state of the function.
inImage const Image& Input image
inRoi Optional<const Region&> NIL Region of interest
inScale Optional<const float&> NIL Scaling factor (default: 255)
inOffset float 1.0 - 1.0f Offset factor
inNormalizeZero bool Specifies whether the output range should be rescaled to start from 0
outImage Image& Output image
diagLutProfile Profile& Profile depicting the resulting look-up table of the logarithm transform

In-place Processing

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

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.