Table Of Contents

Get Color Segmentation Distance (G Dataflow)

Last Modified: October 26, 2017

Retrieves the maximum distance allowed to group classes in color image segmentation.

connector_pane_image
datatype_icon

classifier session in

Reference to the classifier session on which this node operates.

datatype_icon

segmentation options

Cluster of parameters used to configure the color segmentation algorithm.

datatype_icon

window size

Cluster specifying the size of the window the node uses when calculating the color segmentation.

datatype_icon

x

Window size in x direction.

datatype_icon

y

Window size in y direction.

datatype_icon

step size

Distance between two windows.

datatype_icon

min particle area

Minimum number of allowed pixels.

Any particle with fewer pixels than this parameter will be deleted.

datatype_icon

max particle area

Maximum number of allowed pixels.

Any particle with fewer pixels than this parameter will be deleted.

datatype_icon

refine segmentation?

Boolean that, when enabled, processes the boundary pixels of each segmentation cluster using a step size of 1.

Enabling this parameter increases the time required to process the image, but also increases segmentation accuracy.

TRUE Processes the boundary pixels of each segmentation cluster.
FALSE Does not process the boundary pixels.
datatype_icon

sensitivity

Input that specifies the sensitivity of max distance.

Name Description
conservative Uses extensive criteria to determine the maximum distance.
aggressive Uses few criteria to determine the maximum distance.
datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

classifier session out

Reference to the session referenced by classifier session in.

datatype_icon

maximum distance

Maximum allowed color distance to group the pixel windows.

Valid values are 0 to 1000. A value of 0 represents a conservative search strategy and a value of 1000 represents an aggressive search strategy.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics