Image area




I’m a new user trying to perform counts of 5-DTAF stained soil bacteria. I need to measure the total size (um) of my images so I can determine the size of my counting field and ultimately the number of bacteria per gram of soil.
I tried using the module ‘MeasureImageAreaOccupied’ since the help menu claims this will inadvertantly measure the total image area, but I can’t figure out how to see this information…

If anyone has any suggestions or solutions, I would appreciate it enormously.

Thanks :wink:


Please post a representative image (or 2) to a publicly available website for us to view. (We will be able to address your issues more thoroughly.)



Thanks for replying. I think I may have found my solution - my images cover the whole field of view so I figure if I know the size each pixel represents (stage micrometer), I can find the total size of my image by multiplying that value by the total number of pixels my image has, right? Let me know if you think that makes sense…

Thank you,


Indeed, you should use the MeasureImageAreaOccupied module, because it produces a measurement called “TotalImageArea”. In general in CellProfiler, you access measurements using DataTools > ExportData (or the equivalent module, ExportToExcel, built right into the pipeline). You will want to export the “Image” measurements.

Now, the only question is in what units do you want your measurement of image area to be? By default, CellProfiler assumes that your images are one micrometer per pixel (you will notice that the value in the “Pixel Size” box in the main CellProfiler window is, by default “1”). When this value is set to “1”, then any measurements that come out of CellProfiler are essentially in units of pixels.

If you want the measurements to be in units of micrometers, indeed, you will need to know the conversion factor (that is, the size each pixel represents as determined by a stage micrometer or from the manufacturer of the microscope). Enter this value the number of micrometers per pixel in the Pixel size box and any measurements produced will be in units of micrometers.

You can change the Pixel size for the current session by typing a different value in the Pixel size box, or more permanently using File > Set Preferences. You can read more about pixel size by clicking the “?” button next to the Pixel size box in the main CellProfiler window.