Mastering ImageJ: A Comprehensive Guide to Cell Counting

Charles Jul 17, 2026

Cell counting is a crucial aspect of biological research, enabling scientists to understand cellular dynamics, reaction to drugs, and overall health. While manual cell counting is time-consuming and prone to error, ImageJ, an open-source image processing software, offers a more efficient and accurate alternative. Here's a step-by-step guide on how to use ImageJ for cell counting, ensuring precision and expediting your research.

How to Use a Hemocytometer to Count Cells
How to Use a Hemocytometer to Count Cells

Before we dive in, ensure you have ImageJ installed on your computer. If not, you can download it for free from the official ImageJ website. Once installed, you're ready to follow these detailed steps to count cells like a pro.

Viable, High-Throughput Cell Density Determination Using the iQue® Advanced Flow Cytometer
Viable, High-Throughput Cell Density Determination Using the iQue® Advanced Flow Cytometer

Preparing Your Micrograph for Cell Counting

ImageJ can analyze bright-field, phase-contrast, and fluorescence microscopy images. However, for accurate cell counting, it's vital to have a well-focused, high-contrast micrograph.

cell counting worksheet with instructions for students to practice cell count in the classroom
cell counting worksheet with instructions for students to practice cell count in the classroom

Before importing your images, make sure:

  • Your cells are clearly visible and well-separated.
  • The background is clean and uniform.
  • The image resolution is sufficiently high (at least 300 dpi).
Biology News
Biology News

Importing and Displaying Your Image

To begin, open ImageJ and follow these initial steps to import and view your image:

  1. Go to File > Open or use the keyboard shortcut Ctrl + O (or Command + O on Mac).
  2. Navigate to your image file and select it. It will open in a new window.
  3. To view the image at 100% zoom, click on Terms in the toolbar or use the shortcut Ctrl + acceptor (or Command + 1 on Mac).
table showing the number and type of blood types
table showing the number and type of blood types

Enhancing Image Contrast for Better Visualization

For improved cell detection, increasing the contrast of your image can be highly beneficial. You can adjust contrast using the Levels or Brightness/Contrast commands.

Here's how to use the Levels dialog box:

Excel Count Cells with Text - Text and Values, Count any Text, Occurrence of specific Text
Excel Count Cells with Text - Text and Values, Count any Text, Occurrence of specific Text
  1. Go to Image > Adjust > Brightness/Contrast.
  2. In the dialog box that appears, click on the Set button to the right of the _histogram (this will display a black point and a white point).
  3. Move these points to adjust the black and white levels, improving the overall contrast of your image.
  4. If satisfied with the result, click OK to close the dialog box.

Segmenting and Counting Cells

an image of purple and white dots in the center of a circular plate with blue spots
an image of purple and white dots in the center of a circular plate with blue spots
Direct Microscopic Counts- Principle, Procedure, Uses
Direct Microscopic Counts- Principle, Procedure, Uses
an info sheet describing how to use white blood cells
an info sheet describing how to use white blood cells
manual platelet count
manual platelet count
Direct microscopic count
Direct microscopic count
The hemocytometer (counting chamber)
The hemocytometer (counting chamber)
AI generated image show bacteria under microscope 🔬
AI generated image show bacteria under microscope 🔬
Cell Biology Art, Cell Art, Biology Photo, Cells Gif, Wallpaper Cell Wallpaper Biology, Cells Aesthetic, Animal Cells, Cell Under Microscope, Cells Microscope
Cell Biology Art, Cell Art, Biology Photo, Cells Gif, Wallpaper Cell Wallpaper Biology, Cells Aesthetic, Animal Cells, Cell Under Microscope, Cells Microscope
CellProfiler Guide Bundle
CellProfiler Guide Bundle

Once you've prepared and enhanced your image, it's time to segment the cells and perform the cell count. ImageJ provides an easy-to-use plugin called Analyze Particles for this precise task.

Before proceeding, ensure your cells are distinct from one another and the background. If they're touching, you might need to perform a separation process first. Once your cells are well-defined, follow these steps for cell counting:

Analyzing Particles

ImageJ's Analyze Particles tool will identify and count cells based on their size and circularity. It's essential to set up these criteria according to your image's specific cells. Here's how to use it:

  1. Go to Analyze > Set Measurements. Here, choose Area, Feret's diameter, and Mean grey level under the Show section. Click OK.
  2. Go to Plugins > Analyze Particles... .
  3. In the dialog box that opens, choose the following:
Display results Check Show Outlines or Labels or both, depending on your preference for visualization.
Define the Shape Check Circularity if your cells are round. If not, leave this unchecked.
Define the Size Enter minimum and maximum sizes for your cells in square pixels. To find out the minimum size, divide the minimum cell area by the square of your image's pixel resolution (e.g., 200/72² ≈ 412).

Conduct a few tests by adjusting these parameters to capture as many cells as possible without including debris or noise.

Once satisfied with your settings, click Analyze, and ImageJ will overlay shapes or labels onto your cells. The Results window will display your cell count and other measurements.

Recording and Documenting Your Cell Count Data

After obtaining your cell count, you can export your data for further analysis or record-keeping purposes. Here's how:

  1. Navigate to the Results window, which appeared after you clicked Analyze.
  2. Click on Table to view your data in a table format.
  3. To export this data, go to File > Save Data As and choose your preferred format (e.g., Text Document).

Your cell count data is now ready for analysis and documentation in your research.

Optimizing and Fine-tuning Your Cell Count

To ensure the accuracy of your cell count, you can refine your process by pulling more specific measurements from ImageJ or reviewing and adjusting your initial settings.

Measuring Cell Size and Circularity

ImageJ can provide detailed size and shape measurements for each cell, helping you refine your Analyze Particles criteria. Here's how to access these measurements:

  1. Go to the Results window.
  2. Right-click within the table and select Show All Columns to view more data points, including size and circularity.
  3. Review these measurements to help fine-tune your Analyze Particles settings.

Addressing Overlapping Cells

If your cells are overlapping or touching, you may need to deconvolute them before counting. This requires more advanced techniques, such as image processing plugins like Bernsen or manual separation using the Wand (M) tool.

Keep in mind that there's no one-size-fits-all approach to cell counting, and it may take a few iterations to achieve the most accurate results. It's essential to be patient and fine-tune your process according to your specific images and cells.

By following these steps and refining your technique as needed, you'll become adept at using ImageJ for cell counting and supercharge your biological research. Happy counting!