CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

statisticsOfBackgroundAndLabelledPixels

Determines bounding box, area (in pixels/voxels), min, max and mean intensity of background and labelled objects in a label map and corresponding pixels in the original image.

Instead of a label map, you can also use a binary image as a binary image is a label map with just one label.

This method is executed on the CPU and not on the GPU/OpenCL device.

statisticsOfBackgroundAndLabelledPixels often follows after

Usage in ImageJ macro

Ext.CLIJ2_statisticsOfBackgroundAndLabelledPixels(Image input, Image labelmap);

Example notebooks

mean_of_touching_neighbors
neighbors_of_neighbors
superpixel_segmentation

Example scripts

excludeLabelsWithinRange.ijm
filter_label_maps.ijm
mean_of_touching_neighbors.ijm
neighbors_of_neighbors.ijm
superpixel_segmentation.ijm

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint