// Example to convert Particles8 or Particles4 to calibrated units set in the image // G. Landini 19/Nov/2013 // Requires Particles8_ plugin by G. Landini t=getTitle(); run("Particles8 ", "white show=Particles minimum=0 maximum=9999999 display overwrite redirect=None"); lcf=1; //---> add here the side size of 1 pixel in the new calibrated units (e.g. lcf=5, if 1 pixels is 5mm) <--- toScaled(lcf); // length conversion factor acf=lcf*lcf; // area conversion factor Stack.getUnits(X, Y, Z, Time, Value); // the units of the spatially calibrated image if (lcf!=1) { // convert Perim, Area and Pixels in the table for (i=0; i