Table Of Contents

Block Statistics (G Dataflow)

Last Modified: October 26, 2017

Computes pixel value statistics on non-overlapping blocks within an image.

connector_pane_image
datatype_icon

image in

Reference to the source image.

datatype_icon

block size

Cluster that specifies the size, in pixels, of the block that the node uses when calculating statistics. The default size is 32 x 32 pixels.

datatype_icon

sizeX

Size of the block in the x dimension.

datatype_icon

sizeY

Size of the block in the y dimension.

datatype_icon

compute min/max?

Boolean that, when TRUE, computes the minimal and maximal pixel values in each block.

Default: FALSE

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

image out

Reference to the source image.

datatype_icon

block reports

Array of clusters containing the pixel statistics for the data of each block within an image.

Block information is returned from the top left to the bottom right of the image. The size of the array is the product of number of x blocks and number of y blocks.

datatype_icon

mean value

Mean pixel value of the block.

datatype_icon

standard deviation

Distribution of pixel values relative to the mean value.

datatype_icon

minimal value

Smallest pixel value.

datatype_icon

maximal value

Largest pixel value.

datatype_icon

number of x blocks

Number of blocks along the horizontal axis of the image.

datatype_icon

number of y blocks

Number of blocks along the vertical axis of the image.

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