CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

getCenterOfMass

Determines the center of mass of an image or image stack.

It writes the result in the variables centerOfMassX, centerOfMassY and centerOfMassZ.

Category: Measurements

Availability: Available in Fiji by activating the update sites clij and clij2. This function is part of clij2_-2.2.0.19.jar.

getCenterOfMass often follows after

Usage in ImageJ macro

Ext.CLIJ2_getCenterOfMass(Image source, Number centerOfMassX, Number centerOfMassY, Number centerOfMassZ);

Example scripts

center_of_mass.ijm
statistics.ijm

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint