IntensityProfile

_Profile_Data_ExportFile, _Profile_Graph_ExportFile, _Profile_Options, Profile_Data_ExportClipboard, Profile_Data_ExportExcel, Profile_Data_Recalculate, Profile_DefineCross, Profile_DefineLine, Profile_DefinePolyLine, Profile_ExportAll, Profile_Graph_ExportClipboard, Profile_Graph_Redraw, Profile_Options, Profile_SetAutoScale, Profile_SetNumProfiles, Profile_SetView, Profile_ShowGrid

Profile_Data_ExportClipboard

Description 

 Profile_Data_ExportClipboard();

This function exports the intensity profile data to the system clipboard.

See Also 
Profile_Data_ExportExcel, _Profile_Data_ExportFile

Profile_Data_ExportExcel

Description 

 Profile_Data_ExportExcel();

This function exports intensity profile data to MS Excel, if installed.

See Also 
Profile_Data_ExportClipboard, _Profile_Data_ExportFile

Profile_Data_Recalculate

Description 

 Profile_Data_Recalculate();

This function recalculates intensity profile data and redraws the graph. Use this function to redraw the graph after changing position of the profile line (e.g. after using the Profile_DefineLine function).

See Also 
Profile_Graph_Redraw

Profile_DefineCross

Description 

 Profile_DefineCross(
   int  X1,
   int  Y1,
   int  Radius,
   double  RotationAngle
);

This function draws a cross-shaped intensity profile line into the image. The center of the cross is placed on the X and Y coordinate. Radius parameter specifies the radius of the circle touching the tips of the cross.

Parameters

int X1

X coordinate in pixels.

int Y1

Y coordinate in pixels.

int Radius

Radius length in pixels.

double RotationAngle

Angle of rotation of the cross.

Note

To recalculate data of a new line position call the Profile_Data_Recalculate function.

See Also 
Profile_DefineLine, Profile_DefinePolyLine

Profile_DefineLine

Description 

 Profile_DefineLine(
   bool  SecondProfileLine,
   int  X1,
   int  Y1,
   int  X2,
   int  Y2
);

This function defines profile line position. Each line starts on the X1 and Y1 coordinate and ends on the X2 and Y2 coordinate.

Parameters

bool SecondProfileLine

Choose 1 to enable second profile line, 0 to disable second profile line.

int X1

X coordinate in pixels.

int Y1

Y coordinate in pixels.

int X2

X coordinate in pixels.

int Y2

Y coordinate in pixels.

Note

To recalculate data of a new line position call the Profile_Data_Recalculate function.

See Also 
Profile_Data_Recalculate

Profile_DefinePolyLine

Description 

 Profile_DefinePolyLine(
   bool  SecondProfileLine,
   int  LpXs,
   int  LpYs,
   int  Number
);

This function draws a polyline from input coordinates.

Parameters

bool SecondProfileLine

Choose 1 to enable second profile line, 0 to disable second profile line.

int LpXs

Pointer to X coordinates that defines the polyline.

int LpYs

Pointer to Y coordinates that defines the polyline.

int Number

Number of input coordinates.

Note

For recalculate data of new line position call the Profile_Data_Recalculate function.

See Also 
Profile_DefineLine

Profile_ExportAll

Description 

 Profile_ExportAll();

This function opens MS Excel (if installed) and inserts the intensity profile data and graph into a new table.

Profile_Graph_ExportClipboard

Description 

 Profile_Graph_ExportClipboard();

This function exports intensity profile graph to the system clipboard.

See Also 
Profile_Data_ExportExcel, _Profile_Data_ExportFile

Profile_Graph_Redraw

Description 

 Profile_Graph_Redraw();

This function redraws the profile intensity graph.

See Also 
Profile_Data_Recalculate

Profile_Options

Description 

 Profile_Options(
   int  BgColor,
   int  AxesColor,
   int  LineThick,
   int  SecondThick,
   int  SecondStyle,
   int  ColorHighlight
);

This function sets intensity profile options.

Parameters

int BgColor

Graph background color.

int AxesColor

Graph axes color.

int LineThick

Graph line thickness.

int SecondThick

Graph second line thickness.

int SecondStyle

Graph second line style.

0

Solid

1

Dot

2

Dash

3

DashDot

int ColorHighlight

Graph second line highlighting.

0

Enable

1

Disable

Profile_SetAutoScale

Description 

 Profile_SetAutoScale(
   int  AutoScale
);

This function switches the intensity profile graph scale mode.

Parameters

int AutoScale

Autoscale.

0

Disable autoscale.

1

Enable autoscale.

Profile_SetNumProfiles

Description 

 Profile_SetNumProfiles(
   int  Number
);

This function sets the intensity profile lines count.

Parameters

int Number

Define lines count.

1

Set intensity profile lines count to 1.

2

Set intensity profile lines count to 2.

Profile_SetView

Description 

 Profile_SetView(
   int  ProfileView
);

This function switches between the intensity profile tabs.

Parameters

int ProfileView

0

Activate default [Graph] tab.

1

Activate [Data] tab.

Profile_ShowGrid

Description 

 Profile_ShowGrid(
   int  ShowGrid
);

This function displays/hides grid on intensity profile graph.

Parameters

int ShowGrid

Displays or hides grid.

0

Hides grid.

1

Displays grid.

_Profile_Data_ExportFile

Description 

 _Profile_Data_ExportFile();

This function displays a dialog window for exporting the current intensity profile to a text file. Put in the filename and confirm the export with Save.

See Also 
_Profile_Graph_ExportFile

_Profile_Graph_ExportFile

Description 

 _Profile_Graph_ExportFile();

This function displays a dialog window for exporting the current intensity profile image to a *.BMP file. Put in the filename and confirm the export with Save.

See Also 
_Profile_Data_ExportFile

_Profile_Options

Description 

 _Profile_Options();

This function displays the Intensity Profile Options dialog window.