Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image Point Transforms » LogarithmImage

LogarithmImage


Computes a natural logarithm of each pixel.

Name Type Range Description
inImage Image Input image
inRoi Region* Region of interest
inScale Real* Scaling factor (default: 255)
inOffset Real 1.0 - 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

Requirements

For input inImage only pixel formats are supported: int8, uint8, int16, uint16, int32.

Read more about pixel formats in Image documentation.

Applications

Transforms an image in such a way that a quotient on the input image becomes a difference on the output image. This can be useful for dealing with variable illumination.

Examples

Description of usage of this filter can be found in examples and tutorial: Fourier Analysis.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in LogarithmImage.
DomainError Not supported inImage pixel format in AvsFilter_LogarithmImage.

Complexity Level

This filter is available on Basic Complexity Level.