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.

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