GrainSize

(requires: Metalo - Grain Size Analysis)

_ME_GSExportFieldImages, ME_FinishGrainSize, ME_GSAbortSequence, ME_GSCancelMeasure, ME_GSDefaultLayout, ME_GSDetectAndMeasure, ME_GSExportFieldImages, ME_GSFinishMeasure, ME_GSGetData, ME_GSGetDataRecordsCount, ME_GSGetFieldData, ME_GSGetFieldsCount, ME_GSLearn, ME_GSMaskProperties, ME_GSOptions, ME_GSResetData, ME_GSSetupTools, ME_GSShowMask, ME_GSStartMeasure, ME_GSStartMeasureCompare, ME_GSStartMeasureSequence, ME_GSUndoNext, ME_GSUndoPrev, ME_GSUndoSwap, ME_StartGrainSize, ME_SwitchGrainSize

ME_GSAbortSequence

Description 

 ME_GSAbortSequence();

Aborts the Grain Size measurement on a sequence.

ME_GSCancelMeasure

Description 

 ME_GSCancelMeasure();

Cancels the Grain Size measurement.

ME_GSDefaultLayout

Description 

 ME_GSDefaultLayout(
   char *ciparam1,
   char *ciparam2
);

Opens the Grain Size analysis in the default layout.

ME_GSDetectAndMeasure

Description 

 ME_GSDetectAndMeasure(
   char *ciparam1,
   char *ciparam2
);

Executes the Grain Size Detect and Measure with the specified parameters.

Parameters

char *ciparam1

Cast Iron parameter 1.

char *ciparam2

Cast Iron parameter 2.

ME_GSExportFieldImages

Description 

 ME_GSExportFieldImages(
   char *Destination_Folder
);

Exports the Grain Size images of each field into the specified folder.

Parameters

char *Destination_Folder

Folder where the images of each field are copied. It can be null, then the export of images is not performed.

ME_GSFinishMeasure

Description 

 ME_GSFinishMeasure();

Cancels the Grain Size measurement.

ME_GSGetData

Description 

 ME_GSGetData(
   int *ME_Double_Buf_Area,
   int *ME_Double_Buf_MaxFeret,
   int *ME_Double_Buf_EqDia,
   int *ME_Double_Buf_Elongation,
   int *ME_Int_Buf_Field,
   int *ME_Int_Buf_Grain,
   int  ME_Array_Count
);

Returns Grain Size measurement features data.

Parameters

int *ME_Double_Buf_Area

Buffer area.

int *ME_Double_Buf_MaxFeret

Max Feret measurement feature.

int *ME_Double_Buf_EqDia

Equivalent Diameter measurement feature.

int *ME_Double_Buf_Elongation

Elongation measurement feature.

int *ME_Int_Buf_Field

Buffer field.

int *ME_Int_Buf_Grain

Grain size buffer.

int ME_Array_Count

Number of elements in the input fields into which the function fills data. It should be at least equal to the number of measured fields.

ME_GSGetDataRecordsCount

Description 

 ME_GSGetDataRecordsCount();

Returns the Grain Size data records count.

ME_GSGetFieldData

Description 

 ME_GSGetFieldData(
   int *ME_Int_Buf_Field,
   int *ME_Int_Field_NumPhases,
   double *Double_Field_NumGrains1Phase,
   double *Double_Field_NumGrains2Phase,
   double *ME_Double_Field_G1Phase,
   double *ME_Double_Field_G2Phase,
   double *ME_Double_Field_Mean1Phase,
   double *ME_Double_Field_Mean2Phase,
   double *ME_Double_Field_Min1Phase,
   double *ME_Double_Field_Min2Phase,
   double *ME_Double_Field_Max1Phase,
   double *ME_Double_Field_Max2Phase,
   double *ME_Double_Field_StDev1Phase,
   double *ME_Double_Field_StDev2Phase,
   int  ME_Array_Count,
   char *Destination_Folder
);

Returns the Grain Size field data.

Parameters

int *ME_Int_Buf_Field

Buffer field.

int *ME_Int_Field_NumPhases

Function fills the number of phases for the field.

double *Double_Field_NumGrains1Phase

Function fills the number of grains for the field in phase 1.

double *Double_Field_NumGrains2Phase

Function fills the number of grains for the field in phase 2.

double *ME_Double_Field_G1Phase

Function fills the value of G for the field in phase 1.

double *ME_Double_Field_G2Phase

Function fills the value of G for the field in phase 2.

double *ME_Double_Field_Mean1Phase

Mean grain size statistics for phase 1.

double *ME_Double_Field_Mean2Phase

Mean grain size statistics for phase 2.

double *ME_Double_Field_Min1Phase

Minimum grain size statistics for phase 1.

double *ME_Double_Field_Min2Phase

Minimum grain size statistics for phase 2.

double *ME_Double_Field_Max1Phase

Maximum grain size statistics for phase 1.

double *ME_Double_Field_Max2Phase

Maximum grain size statistics for phase 2.

double *ME_Double_Field_StDev1Phase

Standard deviation grain size statistics for phase 1.

double *ME_Double_Field_StDev2Phase

Standard deviation grain size statistics for phase 2.

int ME_Array_Count

Number of elements in the input fields into which the function fills data. It should be at least equal to the number of measured fields.

char *Destination_Folder

Folder where the images of each field are copied. It can be null, then the export of images is not performed.

ME_GSGetFieldsCount

Description 

 ME_GSGetFieldsCount();

Returns the Grain Size measurement field count.

ME_GSLearn

Description 

 ME_GSLearn();

Executes the Grain Size learning.

ME_GSMaskProperties

Description 

 ME_GSMaskProperties();

Opens the Grain Size mask properties.

ME_GSOptions

Description 

 ME_GSOptions();

Opens the Grain Size Options dialog window setting up some general options, labels and export properties.

ME_GSResetData

Description 

 ME_GSResetData();

Performs Grain Size data reset.

ME_GSSetupTools

Description 

 ME_GSSetupTools();

Opens a GUI window where you can add shortcuts to functions to the left tool bar of the Grain Size layout.

ME_GSShowMask

Description 

 ME_GSShowMask();

Shows the Grain Size mask.

ME_GSStartMeasure

Description 

 ME_GSStartMeasure();

Start the Grain Size measurement.

ME_GSStartMeasureCompare

Description 

 ME_GSStartMeasureCompare();

Start the Grain Size comparative method window.

ME_GSStartMeasureSequence

Description 

 ME_GSStartMeasureSequence();

Opens the Measure Grain Size on Sequence dialog window.

ME_GSUndoNext

Description 

 ME_GSUndoNext();

Calls the Grain Size Undo Next command.

ME_GSUndoPrev

Description 

 ME_GSUndoPrev();

Calls the Grain Size Undo Previous command.

ME_GSUndoSwap

Description 

 ME_GSUndoSwap();

Calls the Undo Swap in the Edit menu.

ME_FinishGrainSize

Description 

 ME_FinishGrainSize();

Switches the program from the Grain Size measurement model to the basic workspace of NIS-Elements.

ME_StartGrainSize

This function runs the Applications > Metallography > Grain Size command.

Description 

 ME_StartGrainSize();

Switches NIS-Elements to the Metalo - Grain Size Analysis application and loads settings for this module.

ME_SwitchGrainSize

Description 

 ME_SwitchGrainSize();

This function switches application to the Grain Size Analysis from the other metallography modules (e.g. Cast Iron measurement).

_ME_GSExportFieldImages

Description 

 _ME_GSExportFieldImages();

Opens the Browse for Files or Folders used for selecting the exporting folder.