GrayLevels

_CalibrateBrightness, _CalibrateDensity, Calibrate2, Calibrate3, Calibrate4_8, Calibrate4_8Close, CalibrateDefault, Measurement_Channel, Measurement_ChannelMask

Calibrate2

Description 

 Calibrate2(
   double  Gray1,
   double  Bright1,
   double  Gray2,
   double  Bright2,
   double  Gamma,
   int  CType
);

The Calibrate2 function calibrates the application optical density or brightness using 2 standards and gamma of a camera. This function is typically called, when you invoke the Brightness Calibration command (Calibration menu) or the Density Calibration command (Calibration menu). An interactive equivalent is the _CalibrateBrightness or the _CalibrateDensity function.

Parameters

double Gray1

Gray value of the first standard.

double Bright1

Brightness / density value of the first standard - the meaning depending on the CType parameter.

double Gray2

Gray value of the second standard.

double Bright2

Brightness / density value of the second standard - the meaning depending on the CType parameter.

double Gamma

Gamma value.

<1

Image parts with low intensities are enhanced.

1

Default value.

>1

Image parts with high intensities are enhanced.

int CType

Type of calibration.

0

Brightness

1

Density

See Also 
_CalibrateBrightness, Calibrate3, Calibrate4_8, Calibrate4_8Close, _CalibrateDensity

Calibrate3

Description 

 Calibrate3(
   double  Gray1,
   double  Bright1,
   double  Gray2,
   double  Bright2,
   double  Gray3,
   double  Bright3,
   int  CType
);

This function calibrates application optical density or brightness using 3 standards. This function is typically called, when you invoke the Brightness Calibration command (Calibration menu) or the Density Calibration command (Calibration menu). An interactive equivalent is the _CalibrateBrightness or the _CalibrateDensity function.

Parameters

double Gray1

Gray value of the first standard.

double Bright1

Brightness / density value of the first standard - the meaning depending on the CType parameter.

double Gray2

Gray value of the second standard.

double Bright2

Brightness / density value of the second standard - the meaning depending on the CType parameter.

double Gray3

Gray value of the third standard.

double Bright3

Brightness / density value of the third standard - the meaning depending on the CType parameter.

int CType

Type of calibration.

0

Brightness

1

Density

See Also 
_CalibrateBrightness, Calibrate2, Calibrate4_8, Calibrate4_8Close, _CalibrateDensity, _CalibrateBrightness

Calibrate4_8

Description 

 Calibrate4_8(
   int  CType,
   int  Num,
   double  Gray1,
   double  Bright1
);

This function calibrates application optical density or brightness using 3 standards. This function is typically called, when you invoke the Brightness Calibration command (Calibration menu) or the Density Calibration command (Calibration menu). An interactive equivalent is the _CalibrateBrightness or the _CalibrateDensity function.

Parameters

int CType

Type of calibration.

0

Brightness

1

Density

int Num

Entry number of calibration standard.

double Gray1

Gray value of the first standard.

double Bright1

Brightness / density value of the first standard - the meaning depending on the CType parameter.

See Also 
_CalibrateBrightness, Calibrate2, Calibrate3, Calibrate4_8Close, _CalibrateDensity, _CalibrateBrightness

Calibrate4_8Close

Description 

 Calibrate4_8Close(
   int  CType
);

The Calibrate4_8Close closes and calculates application optical density or brightness calibration using more than 3 standards (<=8). This function is typically called, when you invoke the Brightness Calibration command (Calibration menu) or the Density Calibration command (Calibration menu). An interactive equivalent is the _CalibrateBrightness or the _CalibrateDensity function.

Parameters

int CType

Type of calibration.

0

Brightness

1

Density

See Also 
_CalibrateBrightness, Calibrate2, Calibrate3, Calibrate4_8, _CalibrateDensity, _CalibrateBrightness

CalibrateDefault

Description 

 CalibrateDefault(
   int  CType
);

This function calibrates NIS-Elements optical density or brightness using 3 standards.

Parameters

int CType

Type of calibration.

0

Brightness

1

Density

Measurement_Channel

This function runs the Calibration > Channel for Intensity/Brightness/Density > [Channel Name] command.

Description 

 Measurement_Channel(
   char *Meas_Channel
);

This function sets the source channel for the brightness/density interactive and automatic measurements.

Parameters

char *Meas_Channel

The name of the desired channel

Measurement_ChannelMask

Description 

 Measurement_ChannelMask(
   char *Meas_ChannelMask
);

Displays/hides image channels according to the parameter and updates measurement results and statistics.

Parameters

char *Meas_ChannelMask

A string representing components to be viewed. Each character represents one component. E.g.:

011

RGB: display red+green.

Multichannel: display the second and the third channel.

_CalibrateBrightness

Description 

 _CalibrateBrightness();

The function displays the Brightness Calibration dialog box.

See Also 
Calibrate2, Calibrate3, Calibrate4_8, Calibrate4_8Close

_CalibrateDensity

Description 

 _CalibrateDensity();

The function displays the Density Calibration dialog box.

See Also 
Calibrate2, Calibrate3, Calibrate4_8, Calibrate4_8Close