LightMeter Control Reference 15.0
Methods

Functions

long Execute ()
 Executes the LightMeter Control. More...
 
double GetSingleHistogramEntry (long lEntryIndex)
 Returns the number of pixels for a specific histogram entry. To determine number of pixels found for a single grey value use the grey value as index number for the method. The return value is only valid if the ProcessFlag property is TRUE for this plane. To get a single histogram value of a specific plane simply switch to the plane with the PlaneIndex property before you use the GetSingleHistogramEntry method. More...
 
double GetStopWatch (long lIndex)
 Measures the time between two calls of the function with the same Index value. A call to this function returns the time when the function with the same index was called last. More than one stopwatch can be used at the same time to measure time interval. The index specifies which stopwatch to use. The first call to a stopwatch returns a undefined value. More...
 
double GetSVPixelInLimits (double dLowerLimit, double dUpperLimit)
 Determines the number of pixels with a intensity value between a lower and a upper limit. To get the number of pixels between a lower and a upper intensity value in a specific plane simply switch to the plane with the PlaneIndex property before you use the GetSVPixelInLimits method. The minimum and the maximum value for the limits are determined by the data type of the image object (e.g. 0-255 for a 8 bit image). The value is not calculated during the Execute method of the object. Due to that it is possible to use statistic values generated during the Execute method (e.g. SVMean) to specify the lower and the upper limits. More...
 

Detailed Description

Function Documentation

◆ Execute()

long Execute ( )

Executes the LightMeter Control.

Returns
TRUE if succeeded, FALSE otherwise.
Supported platforms:
Win32
Win64

◆ GetSingleHistogramEntry()

double GetSingleHistogramEntry ( long  lEntryIndex)

Returns the number of pixels for a specific histogram entry. To determine number of pixels found for a single grey value use the grey value as index number for the method. The return value is only valid if the ProcessFlag property is TRUE for this plane. To get a single histogram value of a specific plane simply switch to the plane with the PlaneIndex property before you use the GetSingleHistogramEntry method.

Parameters
[in]lEntryIndexHistogram index = grey value.
Returns
Number of pixels for a specific grey value.
Supported platforms:
Win32
Win64

◆ GetStopWatch()

double GetStopWatch ( long  lIndex)

Measures the time between two calls of the function with the same Index value. A call to this function returns the time when the function with the same index was called last. More than one stopwatch can be used at the same time to measure time interval. The index specifies which stopwatch to use. The first call to a stopwatch returns a undefined value.

Parameters
[in]lIndexIndex of the stopwatch to read (0 - 49).
Returns
Time in milliseconds.
Supported platforms:
Win32
Win64

◆ GetSVPixelInLimits()

double GetSVPixelInLimits ( double  dLowerLimit,
double  dUpperLimit 
)

Determines the number of pixels with a intensity value between a lower and a upper limit. To get the number of pixels between a lower and a upper intensity value in a specific plane simply switch to the plane with the PlaneIndex property before you use the GetSVPixelInLimits method. The minimum and the maximum value for the limits are determined by the data type of the image object (e.g. 0-255 for a 8 bit image). The value is not calculated during the Execute method of the object. Due to that it is possible to use statistic values generated during the Execute method (e.g. SVMean) to specify the lower and the upper limits.

Parameters
[in]dLowerLimitLower intensity limit.
[in]dUpperLimitUpper intensity limit.
Returns
Number of pixels between the lower and upper limits.
Supported platforms:
Win32
Win64