Other

_ClearBinary, _InvertBinary, _InvertBinaryGa3, _KeepSegmenting, _ObjectProcessing, _RemoveAllTouchingBinary, _RemoveAllTouchingBinaryGa3, _SmoothBinaryGa3, BinaryFromGraticuleMask, BinaryGetBoundingRect, BinaryToColor, BinaryWatershed, ClearBinary, ClearBinaryND, ConnectObjects3D, InvertBinary, InvertBinaryGa3, InvertBinaryND, ObjectProcessing, ProcessBinLayerGa3, RemoveAllTouchingBinary, RemoveAllTouchingBinaryGa3, SetShowBinLayerContours, SmoothBinaryGa3, TrackBinaries, TrackBinariesParam, UpdateObjectsFeatures3D

BinaryFromGraticuleMask

This function runs the Copy Binary to Graticule Mask command.

Description 

 BinaryFromGraticuleMask();

This function copies the current graticule to the current binary image.

See Also 
BinaryFromMask, BinaryFromReference, DefineGraticuleMask

BinaryGetBoundingRect

Description 

 BinaryGetBoundingRect(
   int  PosX,
   int  PosY,
   int *LpRectLeft,
   int *LpRectTop,
   int *LpRectRight,
   int *LpRectBottom
);

Returns the pixel coordinates of the object's bounding rectangle in the binary layer. The object is identified by PosX and PosY parameters (seed).

Parameters

int PosX

X coordinate in [px].

int PosY

Y coordinate in [px].

int *LpRectLeft

Filled left coordinate of the bounding rectangle.

int *LpRectTop

Filled top coordinate of the bounding rectangle.

int *LpRectRight

Filled right coordinate of the bounding rectangle.

int *LpRectBottom

Filled bottom coordinate of the bounding rectangle.

BinaryToColor

This function runs the Image > Convert > Binary To Color command.

Description 

 BinaryToColor();

This function converts the current binary image to the current mono image.

See Also 
ColorToGray, ConvertToRGB

BinaryWatershed

Description 

 BinaryWatershed(
   int  BrightObjects,
   int  NDDimension
);

This function performs the watershed algorithm starting from the objects of the binary layer. The flooding is based on image pixel intensities.

Parameters

int BrightObjects

This parameter inverts the way of flooding.

0

Begin with low intensities (standard)

1

Begin with high intensities

int NDDimension

Frame selection of the ND document.

0

Current frame

1

Time dimension

2

Multipoint dimension

4

Z dimension

15

All frames (the whole ND document).

16

Selection - the frames/dimensions selected by mouse within the ND control bar will be affected.

Note

Value combination is also possible (e.g.: M+T=3, Z+T=5, M+Z=6).

Note

Combinations of the NDDimension parameter values are allowed. E.g. 3 stands for MP+T dimension. For more information about the watershed image processing principle please see: https://en.wikipedia.org/wiki/Watershed_(image_processing)

ClearBinary

Interactive command to this function: Image > Clear > Clear Binary

Description 

 ClearBinary();

This function clears the current binary image and sets all pixels to zero.

See Also 
ClearBinaryND, _ClearBinary, ClearColor, _ClearBinary

ClearBinaryND

Description 

 ClearBinaryND(
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function clears the current binary image and sets all pixels to zero.

Parameters

int NDTLoop

0

apply to the current loop only

1

apply to the whole Time dimension

int NDMPLoop

Apply to Multi Point dimension.

0

apply to the current loop only

1

apply to the whole Multi Point dimension

int NDZLoop

Apply to Z dimension

0

apply to the current loop only

1

apply to the whole Z Series dimension

See Also 
ClearBinary, _ClearBinary, ClearColor, _ClearBinary

ConnectObjects3D

This function runs the Binary > Connect 3D Objects in Binaries command.

Description 

 ConnectObjects3D();

This function processes the existing Z-stack of binary layers and connects the corresponding binaries to form 3D objects. Such objects can be further analyzed via appropriate 3D tools.

InvertBinary

Interactive command to this function: Binary > Invert

Description 

 InvertBinary();

This function inverts the binary layer of the current image.

See Also 
InvertBinaryND, _InvertBinary, _InvertBinary

InvertBinaryGa3

Description 

 InvertBinaryGa3(
   int  NDDimension
);

Inverts the binary image to its negative.

Parameters

int NDDimension

Frame selection of the ND document.

0

Current frame

1

Time dimension

2

Multipoint dimension

4

Z dimension

15

All frames (the whole ND document).

16

Selection - the frames/dimensions selected by mouse within the ND control bar will be affected.

Note

Value combination is also possible (e.g.: M+T=3, Z+T=5, M+Z=6).

See Also 
InvertBinary

InvertBinaryND

Description 

 InvertBinaryND(
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function inverts the binary layer of the ND image.

Parameters

int NDTLoop

0

apply to the current loop only

1

apply to the whole Time dimension

int NDMPLoop

Apply to Multi Point dimension.

0

apply to the current loop only

1

apply to the whole Multi Point dimension

int NDZLoop

Apply to Z dimension

0

apply to the current loop only

1

apply to the whole Z Series dimension

See Also 
InvertBinary, _InvertBinary, _InvertBinary

ObjectProcessing

Description 

 ObjectProcessing(
   int  ObjectCommand
);

This function applies a sequence of functions to each object in the current binary image.

Parameters

int ObjectCommand

Sequence of functions to be performed.

  
The following macro enables you interactively cut objects, using ObjectProcessing function:
SuppressDisplay(); 
BinarySwapReference();
ClearBinary();                          //Clears Reference binary image 
BinarySwapReference();
ObjectProcessing("ImageEditEx(0,1,0,2,0);
SuppressDisplay();
BinaryOperations(1);
BinarySwapReference();");
ViewOverlay(); 

See Also 
_ObjectProcessing

ProcessBinLayerGa3

Description 

 ProcessBinLayerGa3(
   char *ProcessingBinLayerName
);

This General Analysis 3 function processes the selected binary layer.

Parameters

char *ProcessingBinLayerName

Name of the binary layer.

RemoveAllTouchingBinary

This function runs the Binary > Remove Objects Touching Borders command.

Description 

 RemoveAllTouchingBinary();

This function removes all binary objects which touch the image border.

RemoveAllTouchingBinaryGa3

Description 

 RemoveAllTouchingBinaryGa3(
   int  NDDimension
);

Removes binary objects touching the image border.

Parameters

int NDDimension

Frame selection of the ND document.

0

Current frame

1

Time dimension

2

Multipoint dimension

4

Z dimension

15

All frames (the whole ND document).

16

Selection - the frames/dimensions selected by mouse within the ND control bar will be affected.

Note

Value combination is also possible (e.g.: M+T=3, Z+T=5, M+Z=6).

See Also 
RemoveAllTouchingBinary

SetShowBinLayerContours

Description 

 SetShowBinLayerContours(
   int  Enabled
);

This function modifies appearance of binary layers displayed in Overlay mode. If transparency of the binary layer is set, non-transparent contours can be enabled using this function.

Parameters

int Enabled

0

Disabled.

1

Enabled.

SmoothBinaryGa3

Description 

 SmoothBinaryGa3(
   double  dSize,
   int  NDDimension
);

This General Analysis 3 function smooths contours of all binary image objects. Click on the help button in the dialog for more information.

Parameters

double dSize

Radius value.

int NDDimension

Frame selection of the ND document.

0

Current frame

1

Time dimension

2

Multipoint dimension

4

Z dimension

15

All frames (the whole ND document).

16

Selection - the frames/dimensions selected by mouse within the ND control bar will be affected.

Note

Value combination is also possible (e.g.: M+T=3, Z+T=5, M+Z=6).

TrackBinaries

This function runs the Binary > Track Binaries command.

Description 

 TrackBinaries();

This function starts automatic tracking of binary objects throughout the time-dimension of an ND2 file.

TrackBinariesParam

Description 

 TrackBinariesParam(
   char *ParametersFileName
);

This function enables you to run the TrackBinaries function using tracking parameters loaded from an external INI file. The INI file can be created within the Tracking Options control window by the Save button.

Parameters

char *ParametersFileName

Path to the *.INI file containing tracking parameters.

UpdateObjectsFeatures3D

Description 

 UpdateObjectsFeatures3D(
   unsigned int  BinLayerID
);

This function works only on 3D objects on which it updates intensity features.

Parameters

unsigned int BinLayerID

Binary layer unique identifier.

_ClearBinary

This function runs the Image > Clear > Clear Binary command.

Description 

 _ClearBinary();

This function equals the ClearBinary function except when performed on ND2 document you will be prompt to select whether to process the current image, selected dimension, or the whole ND document.

See Also 
ClearBinary, ClearBinaryND

_InvertBinary

This function runs the Binary > Invert command.

Description 

 _InvertBinary();

This function equals the InvertBinary function except when performed on ND2 document you will be prompt to select whether to process the current image, selected dimension, or the whole ND document.

See Also 
InvertBinary, InvertBinaryND

_InvertBinaryGa3

Description 

 _InvertBinaryGa3();

Opens the Invert Binary dialog window.

See Also 
InvertBinaryGa3

_KeepSegmenting

Description 

 _KeepSegmenting(
   char *Method
);

This function sets a segmentation method for continuous update. The method will be used to continuously segment (create binary on) the current image. If the corresponding Control is not visible, it also shows it.

Parameters

char *Method

Sets the method. If it is not recognized or NULL (0) it cancels continuous segmentation.

Threshold

Sets Thresholding

Colocalization

Sets Colocalization

Classifier

Sets Classifier

_ObjectProcessing

Description 

 _ObjectProcessing();

This function displays the Object Processing dialog box.

See Also 
ObjectProcessing

_RemoveAllTouchingBinary

Description 

 _RemoveAllTouchingBinary();

Opens the Remove Objects Touching Borders dialog window.

See Also 
RemoveAllTouchingBinaryGa3

_RemoveAllTouchingBinaryGa3

Description 

 _RemoveAllTouchingBinaryGa3();

Opens the Remove All Touching Binary dialog window.

See Also 
RemoveAllTouchingBinaryGa3

_SmoothBinaryGa3

Description 

 _SmoothBinaryGa3();

Opens the Smooth Binary dialog window. Click on the help button in the dialog for more information.