Binary

(requires: Automatic Measurement)

Binary > Define Threshold

(requires: Automatic Measurement)(requires: Automatic Measurement)

Note

If you are running NIS-Elements with Local Options (Step 2), please see Define Threshold for the appropriate dialog description.

Thresholds the image and creates a binary layer. Please see Thresholding.

Create new binary layer

You can create multiple binary layers within one document. Use the View > Analysis Controls > Binary Layers control window to manage all binary layers at once.

This button opens a dialog window, which saves the currently thresholded binary as a new layer. Enter Name of the new layer. Set it as visible or not, and specify its color.

Define Threshold

(requires: Local Option)

Thresholds the image and creates a binary layer. Please see Thresholding.

Picking tools

Select a picking tool and click on objects in the image you wish to detect. Color values of each of the clicked pixel(s) are used to adjust the low and the high threshold values so that the clicked pixel would stay inside the thresholded interval. To reset the threshold values back to default click .

Channel Selection

This drop-down menu specifies which channel is thresholded when the Channels mode is selected.

Custom Range

Zooms to the current range.

Actual Range

Zooms to the minimum - maximum range.

Full Range

Zooms to the full domain.

Smooth, Clean, Fill Holes, Separate

These binary processing functions can be activated and their value adjusted using the arrows or directly by typing the value into the edit box. Fill Holes processing can only be turned on/off whereas the values of other processings are applied as a radius in µm or px.

Size, Circularity

Filter the detected binary objects using the Size or Circularity restriction filters.

Create New Binary Layer

You can create multiple binary layers within one document. Use the View > Analysis Controls > Binary Layers control window to manage all binary layers at once.

Full Image/Use ROI

When turned on, this function thresholds only in the ROI area.

Save/Load Threshold Settings...

Saves/loads the settings of this dialog window to/from a .threshold file.

Open Help

Opens the help document.

Preview

If turned on, the thresholding settings are shown directly in the image once the progress indicator below the switch is fully displayed.

OK

Confirms the thresholding settings and closes the dialog window.

Cancel

Closes the dialog window without applying any thresholding settings.

Binary > Threshold

(requires: Automatic Measurement)(requires: Automatic Measurement)

Segments color image according to threshold levels for RGB.

This function detects pixels with RGB intensities within the range specified by the Binary > Define Threshold command. Current binary image is the result of the transformation.

Binary > Binary Editor

(requires: Automatic Measurement)(requires: Automatic Measurement)

This command opens the binary layer(s) editor. Please see Binary Editor for detailed description of the tools.

Binary > Binary Operations

(requires: Automatic Measurement)(requires: Automatic Measurement)

Enables logical transformation of binary images. The Binary Operations dialog box appears.

Choose one type of operation using the icons in the top row:

AND

Intersection of the selected binary layers will be performed.

OR

Union operation will be performed on the selected binary layers.

Create Subtraction of the Second Layer from the First Layer

Subtraction of the second layer from the first layer will be performed.

Create Subtraction of the First Layer from the Second Layer

Subtraction of the first layer from the second layer will be performed.

XOR

Non-Equivalence operation will be performed on the selected binary layers.

EQ

Equivalence operation will be performed on the selected binary layers.

Copy the first layer

First layer will be copied to a layer selected in the Insert Result into option.

First layer, Second layer

Select which binary layers will be used in the operation.

Insert Result Into

Decide in what layer the result of the operation will be stored - either in one of the selected (source) layers or in a New Layer which will be created upon the binary operation start.

Preview

Select this option to preview the effect of the operation on the current image.

Procedure

  1. Select the First Layer and the Second Layer from the combo boxes. Binary operations will be performed between these two layers.

  2. Select the logical operation to be performed. You can also select the Preview check box to view the result of the operation in the image window.

  3. Now choose where the result will appear in the Insert Result into area. You can select to overwrite the data in the first or second layer with the data of the result or to create a new layer containing the result. If so, type the name of the new layer in the edit box.

  4. Click OK to confirm the action.

Binary > Mask > Define Mask by Threshold

(requires: Automatic Measurement)(requires: Automatic Measurement)

Runs the Binary > Define Threshold command and saves the resulting binary layer as the graticule image.

Binary > Mask > Edit Mask

(requires: Automatic Measurement)(requires: Automatic Measurement)

Opens the binary editor in which it is possible to draw/edit the graticule mask.

See also Drawing tools

Binary > Mask > Clear Mask

(requires: Automatic Measurement)(requires: Automatic Measurement)

Deletes the graticule mask created by either of the commands:

Binary > Mask > Load Mask

(requires: Automatic Measurement)(requires: Automatic Measurement)

Displays a dialog window which selects a file with the graticule, previously exported via the Binary > Mask > Save Mask command.

Binary > Mask > Save Mask

(requires: Automatic Measurement)(requires: Automatic Measurement)

Saves the current graticule mask. A Save As Image dialog box is shown.

Binary > Mask > Mask Transparency

(requires: Automatic Measurement)(requires: Automatic Measurement)

Sets transparency of the graticule mask. The following options are available:

Display Contour Only

Only a single pixel contour around the mask is shown.

Partial Transparency

The mask is shown partially transparent.

No Transparency

The mask is shown in full color without any transparency.

Binary > Mask > Mask Properties

(requires: Automatic Measurement)(requires: Automatic Measurement)

Opens the graticule properties window and selects the Mask type. See Binary > Mask > Mask Properties. Mask will be activated after clicking the OK button.

Binary > Open

(requires: Automatic Measurement)(requires: Automatic Measurement)

Morphological opening performs Erosion followed by Dilation. This has the effect of clearing all objects which are too small with respect to the specified parameters. Larger structures are not significantly affected.

The Open on Binary Image dialog box appears.

Matrix

Click the button to change the structuring element used for this operation. See Structuring Element = Kernel = Matrix.

Count

Number of iterations.

Reset

Sets the dialog default values.

Preview

Select this option to preview the effect of the operation on the current image.

Binary > Close

(requires: Automatic Measurement)(requires: Automatic Measurement)

Morphological closing performs Dilation followed by Erosion. It fills all holes in objects which are too small with respect to the specified parameters. Closely neighboring objects get connected.

Matrix

Click the button to change the structuring element used for this operation. See Structuring Element = Kernel = Matrix.

Count

Number of iterations.

Reset

Sets the dialog default values.

Binary > Erode

(requires: Automatic Measurement)(requires: Automatic Measurement)

Erosion sets each pixel to the value computed as minimum from all pixels in the matrix. Erosion shrinks objects and removes small ones. A non-convex object can split into several parts.

The Erode Binary Image dialog box appears.

Matrix

Click the button to change the structuring element used for this operation. See Structuring Element = Kernel = Matrix.

Count

Number of iterations.

Reset

Sets the dialog default values.

Preview

Select this option to preview the effect of the operation on the current image.

See Also 
Binary > Dilate

Binary > Dilate

(requires: Automatic Measurement)(requires: Automatic Measurement)

Dilation sets each pixel to the value computed as maximum from all pixels in the matrix. Dilation expands objects and structures in binary image. Neighboring objects are connected and small holes are filled.

The Dilate Binary Image dialog box appears.

Matrix

Click the button to change the structuring element used for this operation. See Structuring Element = Kernel = Matrix.

Count

Number of iterations.

Reset

Sets the dialog default values.

Preview

Select this option to preview the effect of the operation on the current image.

See also Binary > Erode.
Binary > Clean

(requires: Automatic Measurement)(requires: Automatic Measurement)

Removes small objects from binary image. This transformation is also called geodesic opening. First, the image is eroded and small objects disappear. Then the remaining eroded objects are reconstructed to their original size and shape. The advantage of this algorithm is that small objects disappear but the rest of the image is not affected. The function can be performed repeatedly.

Matrix

Click the button to change the structuring element used for this operation. See Structuring Element = Kernel = Matrix.

Count

Number of iterations.

Reset

Sets the dialog default values.

Binary > Close Holes

(requires: Automatic Measurement)(requires: Automatic Measurement)

Removes small holes from the current binary image.

Fills all holes in the binary image which would be destroyed by Erosion of the specified parameters.

The Close Holes dialog box appears.

Matrix

Click the button to change the structuring element used for this operation. See Structuring Element = Kernel = Matrix.

Count

Number of iterations.

Reset

Sets the dialog default values.

Binary > Smooth

(requires: Automatic Measurement)(requires: Automatic Measurement)

Smooths binary image contours.

It is possible to define the strength of the function by specifying the number of iterations.

Reset

Sets the dialog default values.

Preview

Select this option to preview the effect of the operation on the current image.

Binary > Fill Holes

(requires: Automatic Measurement)(requires: Automatic Measurement)

Fills holes in a binary layer. Holes which are connected to image borders remain intact.

Binary > Convex Hull

(requires: Automatic Measurement)(requires: Automatic Measurement)

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

Binary > Contour

(requires: Automatic Measurement)(requires: Automatic Measurement)

This function transforms the binary layer to its contour.

Binary > Morpho Separate Objects

(requires: Automatic Measurement)(requires: Automatic Measurement)

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

Morpho Separate Objects dialog box appears.

Matrix

Click the button to change the structuring element used for this operation. See Structuring Element = Kernel = Matrix.

Count

Number of iterations.

Binary > Remove Objects Touching Borders

(requires: Automatic Measurement)(requires: Automatic Measurement)

This command deletes every binary object which touches the image border.

Binary > Insert Line, Circle, Ellipse

(requires: Automatic Measurement)(requires: Automatic Measurement)

This command can be used for interactive calling of NIS-Elements drawing functions. The Insert dialog box appears.

Geometry

Select the type of geometry you wish to draw (i.e. one of the following):

Line

Calls the InsertLine function which inserts a line in the image.

Parallel Lines

Calls the InsertLines function which inserts two parallel lines in the image.

Circle

Calls the InsertCircle function which inserts a circle in the image.

Ellipse

Calls the InsertEllipse function which inserts an ellipse in the image.

Rectangle

Calls the InsertRectangle function which inserts a rectangle in the image.

Insert Markers

Calls the InsertMarkers function which inserts a grid of markers in the image.

Marker

Calls the InsertMarker function which inserts one marker.

Parameters

Number and type of parameters changes accordingly to the selected geometry.

Connectivity

4 or 8, defines the way a line is drawn. See Connectivity.

Distance

The distance between parallel lines. Selected Units are used to specify the coordinates.

Drawing mode

You can select a logical operation which will be performed between the existing binary layer and the object(s) being inserted.

Filled

Closed shapes can be either filled or hollow. Select TRUE to fill the shape or FALSE to leave it hollow.

Height, Radius, Radius a, Radius b, Width

Depending on the selected geometry, these parameters define distances significant for each shape. Selected Units are used to specify the distances.

Marker Shape

When inserting markers, one of the predefined marker shapes can be selected from a pull-down menu.

Orientation, Angle

These parameters specify orientation of the object in degrees [°].

Start x, Start y, End x, End y, Center x, Center y, Position x, Position y

Depending on the selected geometry, these parameters define coordinates significant for placement of the shape (center for a circle, start/end for a line, etc...). Selected Units are used to specify the coordinates.

Units

Select whether the coordinates/dimensions of the shape will be specified in pixels or in the image calibration units.

Note

This option appears only if the current image is calibrated.

OK

Apply the operation to the current image and close the window.

Binary > Invert

(requires: Automatic Measurement)(requires: Automatic Measurement)

This function inverts the binary layer. It easies the binary layer definition. You can also invoke this command by pressing Ctrl + G keyboard shortcut.