Description

Performs a histogram equalization on an image.

Return Type

None  

Syntax

object.Equalization [Type]

The Equalization Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McLookupTable.
TypeOptional. A mcEqualizationType enumeration, as described in settings.

enum mcEqualizationType : See mcEqualizationType.

Settings

The settings for Type are:

ConstantValueDescription
 mceqtLinear1

Linear histogram equalization, spreading the intensity histogram evenly from minimum to maximum values.

 mceqtBell2

The redistributed histogram will have a Gaussian bell shape.

 mceqtLog3

The histogram will be given a logarithmic distribution.

 mceqtExponential4

The histogram will be given an exponential distribution.

 mceqtBestFit5

A linear contrast enhancement will be performed based on the minimum and maximum intensities in the window.

Remarks

This operation equalizes the lookup table and does not affect image data.

Exceptions

Exception: Meaning:

E_INVALIDARG.