AdvancedMorphology

_ConvertTo4Connectivity, _ConvertTo4ConnectivityGa3, _ConvertTo8Connectivity, _ConvertTo8ConnectivityGa3, _ConvexHull, _ConvexHullGa3, _Expand, _GranulometryFast, _GranulometryFastGa3, _HitOrMiss, _HomotopicMarking, _HomotopicMarkingGa3, _Medial_Axis, _Medial_AxisGa3, _MorphoSeparateObjects, _MorphoSeparateObjectsGa3, _Pruning, _PruningGa3, _Quench, _Skeletonize, _SkeletonizeGa3, _Thickening, _UltimateErosion, _UltimateErosionGa3, _ZonesOfInfluence, _ZonesOfInfluenceFast, _ZonesOfInfluenceFastGa3, _ZonesOfInfluenceGa3, ConvertTo4Connectivity, ConvertTo4ConnectivityGa3, ConvertTo4ConnectivityND, ConvertTo8Connectivity, ConvertTo8ConnectivityGa3, ConvertTo8ConnectivityND, ConvexHull, ConvexHullGa3, ConvexHullND, CreateMaxIPBinary, CreateMaxIPBinaryExt, CreateMinIPBinary, CreateMinIPBinaryExt, DefineMatrix, Expand, ExpandND, GranulometryFast, GranulometryFastExt, GranulometryFastGa3, GranulometryFastND, HitOrMiss, HitOrMissND, HomotopicMarking, HomotopicMarkingGa3, HomotopicMarkingND, Medial_Axis, Medial_AxisGa3, Medial_AxisND, MorphoSeparateObjects, MorphoSeparateObjectsEx, MorphoSeparateObjectsExND, MorphoSeparateObjectsGa3, MorphoSeparateObjectsND, Pruning, PruningGa3, PruningND, Quench, QuenchEx, QuenchExND, QuenchND, Skeletonize, SkeletonizeGa3, SkeletonizeND, Thickening, ThickeningND, UltimateErosion, UltimateErosionGa3, UltimateErosionND, ZonesOfInfluence, ZonesOfInfluenceFast, ZonesOfInfluenceFastGa3, ZonesOfInfluenceFastND, ZonesOfInfluenceGa3, ZonesOfInfluenceND

ConvertTo4Connectivity

Interactive command to this function: Binary > Advanced Morphology > Convert to 4-Connectivity

Description 

 ConvertTo4Connectivity();

This command converts pixels of the binary image to 4-connected pixels.

See Also 
ConvertTo8Connectivity

ConvertTo4ConnectivityGa3

Description 

 ConvertTo4ConnectivityGa3(
   int  NDDimension
);

Adds pixels to ensure that each pixel which is only 8-connected will become 4-connected. 4-connected pixels are those connected vertically or horizontally, but not diagonally.

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 
ConvertTo4Connectivity

ConvertTo4ConnectivityND

Description 

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

This function converts pixels of the binary image of an ND document to 8-connected pixels.

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 
ConvertTo8ConnectivityND

ConvertTo8Connectivity

Interactive command to this function: Binary > Advanced Morphology > Convert to 8-Connectivity

Description 

 ConvertTo8Connectivity();

This command converts pixels of the binary image to 8-connected pixels.

See Also 
ConvertTo4Connectivity

ConvertTo8ConnectivityGa3

Description 

 ConvertTo8ConnectivityGa3(
   int  NDDimension
);

Removes pixels to ensure that each pixel which is only 4-connected will become 8-connected. 8-connected pixels are those either vertically, horizontally, or diagonally.

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 
ConvertTo4Connectivity

ConvertTo8ConnectivityND

Description 

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

This command converts pixels of the binary image of an ND document to 8-connected pixels

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 
ConvertTo4ConnectivityND

ConvexHull

Interactive command to this function: Binary > Convex Hull

Description 

 ConvexHull();

This function expands non-convex binary image objects to their convex boundaries.

Note

A convex hull of an object can be defined as the intersection of all half spaces that contain the object, e.g. it is the smallest convex set, which covers the object. This operation uses half spaces rotating in 10 degrees step. Union of all convex hulls is displayed.

See Also 
ConvexHullND, _ConvexHull, FillHoles, FillHolesND, _FillHoles, _ConvexHull

ConvexHullGa3

Description 

 ConvexHullGa3(
   int  NDDimension
);

Expands non-convex binary image objects to their convex boundaries.

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).

Note

A convex hull of an object can be defined as the intersection of all half spaces that contain the object, e.g. it is the smallest convex set, which covers the object. This operation uses half spaces rotating in 10 degrees step. Union of all convex hulls is displayed.

See Also 
ConvexHull

ConvexHullND

Description 

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

This function expands non-convex binary image objects to their convex boundaries.

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

Note

A convex hull of an object can be defined as the intersection of all half spaces that contain the object, e.g. it is the smallest convex set, which covers the object. This operation uses half spaces rotating in 10 degrees step. Union of all convex hulls is displayed.

See Also 
ConvexHull, _ConvexHull, FillHoles, FillHolesND, _FillHoles, _ConvexHull

CreateMaxIPBinary

This function runs the Binary > ND Processing > Max Binary Projection (union) command.

Description 

 CreateMaxIPBinary();

This function applies maximum intensity projection to all binary layers of the current ND2 image. The result will be union of the binary layers.

CreateMaxIPBinaryExt

Description 

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

This function applies maximum intensity projection to all binary layers of the current ND2 image. The result will be union of the binary layers.

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

CreateMinIPBinary

This function runs the Binary > ND Processing > Min Binary Projection (intersection) command.

Description 

 CreateMinIPBinary();

This function applies minimum intensity projection to all binary layers of the current ND2 image. The result will be intersection of the binary layers.

CreateMinIPBinaryExt

Description 

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

This function applies minimum intensity projection to all binary layers of the current ND2 image. The result will be intersection of the binary layers.

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

DefineMatrix

Description 

 DefineMatrix(
   char *Matrix,
   int  Rows,
   int  Cols,
   char *MatrixData
);

This function defines matrix variable for the HitOrMiss function. This function is typically called, when you invoke the Hit-Or-Miss command (Binary > Advanced Morphology).

Parameters

char *Matrix

Specifies name of structuring element.

int Rows

Number of rows in the matrix.

int Cols

Number of columns in the matrix.

char *MatrixData

Specifies data in matrix in rows from up down. In rows from left to right. Data are separated by comma.

0

Background.

1

Object.

2

Do not care.

See Also 
HitOrMiss, DeleteVariable, _HitOrMiss

Expand

Interactive command to this function: Binary > Advanced Morphology > Expand (BinRef=Condition)

Description 

 Expand();

This function performs conditional dilation of binary image.

Note

The current binary image is dilated and then intersected by reference binary image. This step is repeated until there is no difference in the sequence of dilated images. The current image may be e.g. the erosion of the original image that has been copied to reference binary image. In this case the function reconstructs only bigger objects and rejects smaller objects.

See Also 
ExpandND, _Expand, CleanBinary, CleanBinaryND, _CleanBinary, _Expand

ExpandND

Description 

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

This function performs conditional dilation of binary 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

Note

The current binary image is dilated and then intersected by reference binary image. This step is repeated until there is no difference in the sequence of dilated images. The current image may be e.g. the erosion of the original image that has been copied to reference binary image. In this case the function reconstructs only bigger objects and rejects smaller objects.

See Also 
Expand, _Expand, CleanBinary, CleanBinaryND, _CleanBinary, _Expand

GranulometryFast

This function runs the Binary > Advanced Morphology > Granulometry command.

Description 

 GranulometryFast();

This function uses the current binary image to create the granulometry image. The values in the granulometry image represent the size of the opening (with the square structure element) which must be applied to remove the underlaid pixel of the binary image. See Binary > Advanced Morphology menu pop-up.

Note

In the application the current color (gray) image will be filled with the gray RGB values.

See Also 
GranulometryFastND, GranulometryFastExt, ZonesOfInfluence, ZonesOfInfluenceND

GranulometryFastExt

Description 

 GranulometryFastExt();

This function differs from the GranulometryFast function only in the correction of edge pixels. This correction is applied because of the statistical data computation. See Binary > Advanced Morphology menu pop-up.

See Also 
GranulometryFast, ZonesOfInfluenceFast

GranulometryFastGa3

Description 

 GranulometryFastGa3(
   int  NDDimension
);

This command creates the granulometry image from the binary image.

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).

GranulometryFastND

Description 

 GranulometryFastND();

This function uses the current binary image to create the granulometry image. The values in the in the granulometry image represents the size of the opening (with the square structure element) which must be applied to remove the underlaid pixel of the binary image. See Binary > Advanced Morphology menu pop-up.

Note

In the application the current color (gray) image will be filled with the gray RGB values. It is always performed on all ND dimensions.

See Also 
GranulometryFast, GranulometryFastExt, ZonesOfInfluence, ZonesOfInfluenceND, GranulometryFast

HitOrMiss

Interactive command to this function: Binary > Advanced Morphology > Hit-Or-Miss

Description 

 HitOrMiss(
   char *Matrix
);

This function extracts points from binary image according to structuring element.

Parameters

char *Matrix

Specifies name of structuring element.

Note

The Hit-Or-Miss transformation maps binary image to the binary image in the following way: only points that matches the structuring element retains in the binary image. Matrix elements values are 0, 1, or 2. 0 specifies background, 1 specifies foreground (objects) and 2 specifies that this position in the Matrix can be ignored (either foreground or background). E.g. when selecting Hit-Or-Miss transformation with SinglePoint structuring element only isolated single points retain in the binary image.

See Also 
HitOrMissND, _HitOrMiss, DefineMatrix, _HitOrMiss

HitOrMissND

Description 

 HitOrMissND(
   char *MatrixName,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function extracts points from binary image according to structuring element.

Parameters

char *MatrixName

Specifies name of structuring element.

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

Note

The Hit-Or-Miss transformation maps binary image to the binary image in the following way: only points that matches the structuring element retains in the binary image. Matrix elements values are 0, 1, or 2. 0 specifies background, 1 specifies foreground (objects) and 2 specifies that this position in the Matrix can be ignored (either foreground or background). E.g. when selecting Hit-Or-Miss transformation with SinglePoint structuring element only isolated single points retain in the binary image.

See Also 
HitOrMiss, _HitOrMiss, DefineMatrix, _HitOrMiss

HomotopicMarking

Interactive command to this function: Binary > Advanced Morphology > Homotopic Marking

Description 

 HomotopicMarking();

This function marks objects by homotopic marks.

See Also 
HomotopicMarkingND, _HomotopicMarking, Pruning, PruningND, _Pruning, _HomotopicMarking

HomotopicMarkingGa3

Description 

 HomotopicMarkingGa3(
   int  NDDimension
);

Marks objects with homotopic marks. Homotopic marking is a sequential homotopic thinning. It is used for marking objects. A filled object (with no holes) is transformed to a single point. Every hole leaves a closed contour.

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 
HomotopicMarking

HomotopicMarkingND

Description 

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

This function marks objects by homotopic marks.

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 
HomotopicMarking, _HomotopicMarking, Pruning, PruningND, _Pruning, _HomotopicMarking

Medial_Axis

Interactive command to this function: Binary > Advanced Morphology > Medial Axis

Description 

 Medial_Axis(
   int  MatrixType,
   int  StopAfter,
   int  PointsToDirection,
   int  LinesOnEdges
);

This function creates medial axis from the current binary objects. An interactive equivalent is the _Medial_Axis function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

int StopAfter

Determines the axis shape. Values are ranging from 2 to 3. The higher is the value, the simpler is the shape.

int PointsToDirection

Determines how many points is used to calculate the direction of the medial axis prolongation. Values are >= 2.

int LinesOnEdges

If this parameter is set to TRUE (1) medial axis are prolongated to the object boundaries, otherwise not.

See Also 
Medial_AxisND, Quench, QuenchND, _Quench, Medial_Axis, _Medial_Axis

Medial_AxisGa3

Description 

 Medial_AxisGa3(
   int  iMatrix,
   int  iStopAfter,
   int  iPoints,
   int  iProlongation,
   int  NDDimension
);

Creates medial axis from the current binary objects.

Parameters

int iMatrix

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

4

5

6

int iStopAfter

Determines the axis shape. Values are ranging from 2 to 3. The higher is the value, the simpler is the shape.

int iPoints

Determines how many points is used to calculate the direction of the medial axis prolongation. Values are >= 2.

int iProlongation

If this parameter is set to TRUE (1) medial axis are prolongated to the object boundaries, otherwise not.

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 
Medial_Axis

Medial_AxisND

Description 

 Medial_AxisND(
   int  MatrixType,
   int  StopAfter,
   int  PointsToDirection,
   int  LinesOnEdges,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function creates medial axis from the current binary objects. An interactive equivalent is the _Medial_Axis function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

int StopAfter

Determines the axis shape. Values are ranging from 2 to 3. The higher is the value, the simpler is the shape.

int PointsToDirection

Determines how many points is used to calculate the direction of the medial axis prolongation. Values are >= 2.

int LinesOnEdges

If this parameter is set to TRUE (1) medial axis are prolongated to the object boundaries, otherwise not.

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 
Medial_Axis, _Medial_Axis, Quench, QuenchND, _Quench, _Medial_Axis

MorphoSeparateObjects

Interactive command to this function: Binary > Morpho Separate Objects

Description 

 MorphoSeparateObjects(
   int  MatrixType,
   int  Count
);

This function separates objects using mathematical morphology methods. Count parameter is the number of quench dilations from the seed points.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

int Count

Number of iterations.

See Also 
MorphoSeparateObjectsND, _MorphoSeparateObjects, UltimateErosion, UltimateErosionND, _UltimateErosion, Quench, QuenchND, _Quench

MorphoSeparateObjectsGa3

Description 

 MorphoSeparateObjectsGa3(
   int  iCount,
   int  iMatrix,
   int  NDDimension
);

Separates binary objects into multiple smaller objects. The higher the Count, the fewer objects will be separated.

Parameters

int iCount

Number of iterations.

int iMatrix

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

4

5

6

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 
MorphoSeparateObjects

MorphoSeparateObjectsEx

Description 

 MorphoSeparateObjectsEx(
   int  MatrixType,
   int  Count,
   int  CloseHoles
);

Separates objects using mathematical morphology methods.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

int Count

Number of iterations.

int CloseHoles

0

Performs the standard function.

1

Applies the CloseHoles function to the binary image before the main function is run. The application is valid only for purposes of the algorithm i.e. the original holes remain in the resulting image.

MorphoSeparateObjectsExND

Description 

 MorphoSeparateObjectsExND(
   int  MatrixType,
   int  Count,
   int  CloseHoles,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function separates objects using mathematical morphology methods.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

int Count

Number of iterations.

int CloseHoles

0

Performs the standard function.

1

Applies the CloseHoles function to the binary image before the main function is run. The application is valid only for purposes of the algorithm i.e. the original holes remain in the resulting image.

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

MorphoSeparateObjectsND

Description 

 MorphoSeparateObjectsND(
   int  MatrixType,
   int  Count,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function separates objects using mathematical morphology methods. The count parameter is the number of quench dilations from the seed points. An interactive equivalent is the _MorphoSeparateObjects function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

int Count

Number of iterations.

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 
MorphoSeparateObjects, _MorphoSeparateObjects, UltimateErosion, UltimateErosionND, _UltimateErosion, Quench, QuenchND, _Quench, _MorphoSeparateObjects

Pruning

Interactive command to this function: Binary > Advanced Morphology > Pruning

Description 

 Pruning(
   int  Layers
);

This function sequentially removes the end points from the skeletonized image. An interactive equivalent is the _Pruning function.

Parameters

int Layers

Number of iterations, 0 is for complete processing (runs until the operation changes the image).

Note

The end-points of lines are removed. This function is used for simplification of skeletons by removal of branches. Closed contours remain unchanged.

See Also 
PruningND, _Pruning, _Pruning

PruningGa3

Description 

 PruningGa3(
   int  iSize,
   int  NDDimension
);

Sequentially removes end-points from binary image. This function is used for simplification of skeletons by removal of branches. Closed contours remain unchanged.

Parameters

int iSize

Number of iterations, 0 is for complete processing (runs until the operation changes the image).

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).

PruningND

Description 

 PruningND(
   int  Layers,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function removes sequentially end points from skeletonized image. An interactive equivalent is the _Pruning function.

Parameters

int Layers

Number of iterations, 0 is for complete processing (runs until the operation changes the image).

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

Note

The end-points of lines are removed. This function is used for simplification of skeletons by removal of branches. Closed contours remain unchanged.

See Also 
Pruning, _Pruning, _Pruning

Quench

Interactive command to this function: Binary > Advanced Morphology > Distance Function

Description 

 Quench(
   int  MatrixType
);

This function displays the distance of the object points to the boundary as intensities. An interactive equivalent is the _Quench function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

Note

The application can display 65535 gray levels. Therefore, only distances from 0 to 65535 can be displayed exactly. The greater distances are clipped to 65535.

See Also 
QuenchND, _Quench, _Quench

QuenchEx

Description 

 QuenchEx(
   int  MatrixType,
   char *BinLayerNameDst,
   int  ResultLocation
);

This function displays the distance of the object points to the boundary as intensities. An interactive equivalent is the _Quench function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

char *BinLayerNameDst

Name of the destination binary layer(s) which will be created by the function.

Note

Some functions accept a list of binary layers. A coma-separated list of names is expected. If the list is in another format than expected or NULL, default names will be used.

int ResultLocation

Determines how the resulting distance image is shown.

0

A new mono image is created replacing the original color data.

1

New channel with the distance image is created in the current nd2 document.

Note

The application can display 65535 gray levels. Therefore, only distances from 0 to 65535 can be displayed exactly. The greater distances are clipped to 65535.

See Also 
QuenchND, _Quench, _Quench

QuenchExND

Description 

 QuenchExND(
   int  MatrixType,
   char *BinLayerNameDst,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop,
   int  ResultLocation
);

This function displays the distance of the object points to the boundary as intensities. On ND documents it is performed on all frames. An interactive equivalent is the _Quench function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

char *BinLayerNameDst

Name of the destination binary layer(s) which will be created by the function.

Note

Some functions accept a list of binary layers. A coma-separated list of names is expected. If the list is in another format than expected or NULL, default names will be used.

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

int ResultLocation

Determines how the resulting distance image is shown.

0

A new mono image is created replacing the original color data.

1

New channel with the distance image is created in the current nd2 document.

Note

The application can display 65535 gray levels. Therefore, only distances from 0 to 65535 can be displayed exactly. The greater distances are clipped to 65535.

See Also 
Quench, _Quench, _Quench

QuenchND

Description 

 QuenchND(
   int  MatrixType,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function displays the distance of the object points to the boundary as intensities. On ND documents it is performed on all frames. An interactive equivalent is the _Quench function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

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

Note

The application can display 65535 gray levels. Therefore, only distances from 0 to 65535 can be displayed exactly. The greater distances are clipped to 65535.

See Also 
Quench, _Quench, _Quench

Skeletonize

Interactive command to this function: Binary > Skeleton Morphology > Skeletonize

Description 

 Skeletonize();

This function makes skeleton of the binary image.

Note

A skeleton includes medial lines of an object e.g. pixels with two or more equidistant nearest boundary points. It contains lines of thickness one pixel. This function preserves homotopy. It means, roughly saying, that any object is transformed to another one with the same number of holes and no object is split.

See Also 
SkeletonizeND, _Skeletonize, Pruning, PruningND, _Pruning, _Skeletonize

SkeletonizeGa3

Description 

 SkeletonizeGa3(
   int  NDDimension
);

Makes a skeleton of the binary image.

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 
Skeletonize

SkeletonizeND

Description 

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

This function makes skeleton of the binary 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

Note

A skeleton includes medial lines of an object e.g. pixels with two or more equidistant nearest boundary points. It contains lines of thickness one pixel. This function preserves homotopy. It means, roughly saying, that any object is transformed to another one with the same number of holes and no object is split.

See Also 
Skeletonize, _Skeletonize, Pruning, PruningND, _Pruning, _Skeletonize

Thickening

Interactive command to this function: Binary > Advanced Morphology > Thickening

Description 

 Thickening(
   int  Layers,
   int  InsideReference
);

This function homotopically dilates objects using mathematical morphology methods. An interactive equivalent is the _Thickening function.

Parameters

int Layers

Number of iterations, 0 is for complete processing (runs until the operation changes the image).

int InsideReference

If InsideReference==1, conditional thickening is performed: objects in the current binary image are thickened and then intersected with the reference binary image. Otherwise condition is ignored.

See Also 
ThickeningND, _Thickening, UltimateErosion, Quench, _Thickening

ThickeningND

Description 

 ThickeningND(
   int  Layers,
   int  InsideReference,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function homotopically dilates objects using mathematical morphology methods. An interactive equivalent is the _Thickening function.

Parameters

int Layers

Number of iterations, 0 is for complete processing (runs until the operation changes the image).

int InsideReference

If InsideReference==1, conditional thickening is performed: objects in the current binary image are thickened and then intersected with the reference binary image. Otherwise condition is ignored.

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 
Thickening, _Thickening, UltimateErosion, Quench, _Thickening

UltimateErosion

Interactive command to this function: Binary > Advanced Morphology > Ultimate Erosion

Description 

 UltimateErosion(
   int  MatrixType,
   int  Count
);

This function sequentially erodes binary image, but leaves the small area that would completely disappear in the next erosion. Optionally, you can dilate these seed points (Count parameter is the number of dilations from the seed points). An interactive equivalent is the _UltimateErosion function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

int Count

Number of iterations.

See Also 
UltimateErosionND, _UltimateErosion, MorphoSeparateObjects, MorphoSeparateObjectsND, _MorphoSeparateObjects, Quench, QuenchND, _Quench, _UltimateErosion

UltimateErosionGa3

Description 

 UltimateErosionGa3(
   int  iCount,
   int  iMatrix,
   int  NDDimension
);

Sequentially erodes binary image, but leaves small areas which would completely disappear in the next erosion.

Parameters

int iCount

Number of iterations.

int iMatrix

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

4

5

6

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 
UltimateErosion

UltimateErosionND

Description 

 UltimateErosionND(
   int  MatrixType,
   int  Count,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function sequentially erodes binary image, but leaves the small area that would completely disappear in the next erosion. Optionally, you can dilate these seed points (Count parameter is the number of dilations from the seed points). An interactive equivalent is the _UltimateErosion function.

Parameters

int MatrixType

Type of the structuring element used for the processing with the center in the enhanced pixel.

3

5

15

16

17

int Count

Number of iterations.

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 
UltimateErosion, _UltimateErosion, MorphoSeparateObjects, MorphoSeparateObjectsND, _MorphoSeparateObjects, Quench, QuenchND, _Quench, _UltimateErosion

ZonesOfInfluence

Interactive command to this function: Binary > Advanced Morphology > Zones of Influence

Description 

 ZonesOfInfluence();

This function makes zones of influence on the binary image.

Note

Zones of influence are separated by the pruned skeleton of the background. It is a four connectivity line. Points that belong to one zone of influence have the nearest distance to the boundary of the same object.

See Also 
Skeletonize

ZonesOfInfluenceFast

Interactive command to this function: Binary > Advanced Morphology > Fast exoskeleton

Description 

 ZonesOfInfluenceFast();

This function computes the zones of influence via the fast pipe of pixels algorithm.

Note

There are several rarely appearing combinations of pixels this algorithm can fail partially.

See Also 
GranulometryFast, GranulometryFastExt

ZonesOfInfluenceFastND

Description 

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

This function computes the zones of influence via the fast pipe of pixels algorithm.

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

Note

There are several rarely appearing combinations of pixels this algorithm can fail partially.

See Also 
GranulometryFast, GranulometryFastExt

ZonesOfInfluenceGa3

Description 

 ZonesOfInfluenceGa3(
   int  NDDimension
);

Creates zones of influence by drawing four connectivity borders. For each pixel of a border between two objects, the distance to both objects is the same.

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).

ZonesOfInfluenceFastGa3

Description 

 ZonesOfInfluenceFastGa3(
   int  NDDimension
);

This function computes the zones of influence via the fast pipe of pixels algorithm.

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 
_ZonesOfInfluenceFastGa3

ZonesOfInfluenceND

Description 

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

This function makes zones of influence on binary 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

Note

Zones of influence are separated by the pruned skeleton of the background. It is a four connectivity line. Points that belong to one zone of influence have the nearest distance to the boundary of the same object.

See Also 
Skeletonize

_ConvertTo4Connectivity

This function runs the Binary > Advanced Morphology > Convert to 4-Connectivity command.

Description 

 _ConvertTo4Connectivity();

This function converts pixels of the binary image to 4-connected pixels.

See Also 
_ConvertTo8Connectivity

_ConvertTo4ConnectivityGa3

Description 

 _ConvertTo4ConnectivityGa3();

Opens the Convert to 4 Connectivity dialog window.

See Also 
ConvertTo4ConnectivityGa3

_ConvertTo8Connectivity

This function runs the Binary > Advanced Morphology > Convert to 8-Connectivity command.

Description 

 _ConvertTo8Connectivity();

This function converts pixels of the binary image to 8-connected pixels.

See Also 
_ConvertTo4Connectivity

_ConvertTo8ConnectivityGa3

Description 

 _ConvertTo8ConnectivityGa3();

Opens the Convert to 8 Connectivity dialog window.

See Also 
ConvertTo8ConnectivityGa3

_ConvexHull

This function runs the Binary > Convex Hull command.

Description 

 _ConvexHull();

This function equals the ConvexHull 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 
ConvexHull, ConvexHullND, FillHoles, FillHolesND, _FillHoles

_ConvexHullGa3

Description 

 _ConvexHullGa3();

Opens the Convex Hull dialog window.

See Also 
ConvexHullGa3

_Expand

This function runs the Binary > Advanced Morphology > Expand (BinRef=Condition) command.

Description 

 _Expand();

This function equals the Expand 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 
Expand, ExpandND, CleanBinary, CleanBinaryND, _CleanBinary

_GranulometryFast

Description 

 _GranulometryFast();

This function uses the current binary image to create the granulometry image. The values in the granulometry image represent the size of the opening (with the square structure element) which must be applied to remove the underlaid pixel of the binary image. See Binary > Advanced Morphology menu pop-up.

Note

In the application the current color (gray) image will be filled with the gray RGB values. It is always performed on all ND dimensions.

See Also 
GranulometryFast, GranulometryFastExt, ZonesOfInfluence, ZonesOfInfluenceND, GranulometryFast

_GranulometryFastGa3

Description 

 _GranulometryFastGa3();

Opens the Granulometry Fast dialog window.

See Also 
GranulometryFastGa3

_HitOrMiss

This function runs the Binary > Advanced Morphology > Hit-Or-Miss command.

Description 

 _HitOrMiss();

This function displays the Hit-Or-Miss Transformation dialog box.

See Also 
DefineMatrix

_HomotopicMarking

This function runs the Binary > Advanced Morphology > Homotopic Marking command.

Description 

 _HomotopicMarking();

This function equals the HomotopicMarking 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 
HomotopicMarking, HomotopicMarkingND, Pruning, PruningND, _Pruning

_HomotopicMarkingGa3

Description 

 _HomotopicMarkingGa3();

Opens the Homotopic Marking dialog window.

See Also 
HomotopicMarkingGa3

_Medial_Axis

This function runs the Binary > Advanced Morphology > Medial Axis command.

Description 

 _Medial_Axis();

The function displays the Medial Axis dialog box.

See Also 
Medial_Axis, Medial_AxisND, Quench, QuenchND, _Quench

_Medial_AxisGa3

Description 

 _Medial_AxisGa3();

Opens the Medial Axis dialog window.

See Also 
Medial_AxisGa3

_MorphoSeparateObjects

This function runs the Binary > Morpho Separate Objects command.

Description 

 _MorphoSeparateObjects();

The function displays the Morphologically Separate Objects dialog box.

See Also 
MorphoSeparateObjects, MorphoSeparateObjectsND, UltimateErosion, UltimateErosionND, _UltimateErosion, Quench, QuenchND, _Quench

_MorphoSeparateObjectsGa3

Description 

 _MorphoSeparateObjectsGa3();

Opens the Morpho Separate Objects dialog window.

See Also 
MorphoSeparateObjectsGa3

_Pruning

This function runs the Binary > Advanced Morphology > Pruning command.

Description 

 _Pruning();

The function displays the Prune 8-Connectivity dialog box

See Also 
Pruning, PruningND

_PruningGa3

Description 

 _PruningGa3();

Opens the Pruning dialog window.

See Also 
PruningGa3

_Quench

This function runs the Binary > Advanced Morphology > Distance Function command.

Description 

 _Quench();

This function displays the Distance Function on the Binary Image dialog box.

See Also 
Quench, QuenchND

_Skeletonize

This function runs the Binary > Skeleton Morphology > Skeletonize command.

Description 

 _Skeletonize();

This function equals the Skeletonize 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 
SkeletonizeND, Skeletonize

_SkeletonizeGa3

Description 

 _SkeletonizeGa3();

Opens the Skeletonize dialog window.

See Also 
SkeletonizeGa3

_Thickening

This function runs the Binary > Advanced Morphology > Thickening command.

Description 

 _Thickening();

This function displays the Thickening dialog box.

See Also 
Thickening, ThickeningND, UltimateErosion, Quench

_UltimateErosion

This function runs the Binary > Advanced Morphology > Ultimate Erosion command.

Description 

 _UltimateErosion();

This function displays the Ultimate Erosion on Binary Image dialog box.

See Also 
UltimateErosion, UltimateErosionND

_UltimateErosionGa3

Description 

 _UltimateErosionGa3();

Opens the Ultimate Erosion dialog window.

See Also 
UltimateErosionGa3

_ZonesOfInfluence

This function runs the Binary > Advanced Morphology > Zones of Influence command.

Description 

 _ZonesOfInfluence();

This function equals the ZonesOfInfluence 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.

_ZonesOfInfluenceGa3

Description 

 _ZonesOfInfluenceGa3();

Opens the Zones of Influence dialog window.

See Also 
ZonesOfInfluenceGa3

_ZonesOfInfluenceFastGa3

Description 

 _ZonesOfInfluenceFastGa3();

Opens the Zones of Influence dialog window.

See Also 
ZonesOfInfluenceFastGa3

_ZonesOfInfluenceFast

This function runs the Binary > Advanced Morphology > Fast exoskeleton command.

Description 

 _ZonesOfInfluenceFast();

This function equals the ZonesOfInfluenceFast 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.