Mastering ImageJ: A Comprehensive Guide to Counting Cells

Charles Jul 17, 2026

ImageJ, an open-source image processing program, is an invaluable tool for biological research, particularly when it comes to cell counting. This software provides a simple, user-friendly platform to Congregate, analyze, and present biological image data. Here's a step-by-step guide to help you use ImageJ for cell counting.

Cell Counting Using a Hemocytometer
Cell Counting Using a Hemocytometer

Before we dive into the process, ensure you have ImageJ installed and open. You should also have access to your microscopy images, which you'll import into the software. Let's begin our journey into the world of cell counting with ImageJ.

How to quickly count the first instance only of values in Excel?
How to quickly count the first instance only of values in Excel?

Preparing Your Images for Analysis

ImageJ can handle a variety of image formats, including TIFF, PNG, and JPEG. However, before starting, it's essential to ensure your images are in a suitable format for analysis.

table showing the number and type of blood types
table showing the number and type of blood types

The first step involves converting your color images to grayscale. While color images can provide more detailed information, they often complicate the counting process. To convert, go to 'Image' > 'Type' > '8-bit'.

Ensuring Image Quality

how to auto fill blank cells in excel - step by step guide for beginners
how to auto fill blank cells in excel - step by step guide for beginners

Blurry or poorly lit images can hamper the cell counting process. Before proceeding, check the quality of your images. If necessary, adjust brightness and contrast using the 'Adjust' menu in ImageJ. This will help you obtain clear, distinct images for analysis.

Additionally, you might need to crop your images to focus only on the area of interest. This can be done using the 'Rectangular' tool in the toolbar or by going to 'Image' > 'Crop'.

Setting the Scale

Trouble tackling Microsoft Excel? Here's how to get the most out of cells
Trouble tackling Microsoft Excel? Here's how to get the most out of cells

ImageJ analyzes images based on pixel sizes. Therefore, it's crucial to set the scale of your image. Go to 'Analyze' > 'Set Scale' and input the known distance (in pixels) and the actual distance (in the relevant unit, such as micrometers). This step is vital for accurate counting and sizing of cells.

Once your images are ready, it's time to start the cell counting process.

Using ImageJ's Cell Counter Plugin

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

ImageJ's built-in Cell Counter plugin simplifies the cell counting process. Here's how to use it.

First, download the Cell Counter plugin from the ImageJ website or another reliable source. Once downloaded, open it in ImageJ using 'Plugins' > 'Cell counter' > 'Run Cell Counter'.

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
an info sheet describing how to use white blood cells
an info sheet describing how to use white blood cells
the diagram shows different types of cells and how they are used to make their own food
the diagram shows different types of cells and how they are used to make their own food
the diagram shows how cell lines are connected to each other in order to help them understand what they are doing
the diagram shows how cell lines are connected to each other in order to help them understand what they are doing
The hemocytometer (counting chamber)
The hemocytometer (counting chamber)
Plant Cell vs Animal Cell Diagram | Compare Cell Structure & Functions
Plant Cell vs Animal Cell Diagram | Compare Cell Structure & Functions
an abstract green and black background with lots of small numbers in the center, all connected to one another
an abstract green and black background with lots of small numbers in the center, all connected to one another
Topic 1: Cell Biology
Topic 1: Cell Biology
Automated Cell Counter
Automated Cell Counter

Calibrating the Cell Counter

The Cell Counter plugin provides a variety of modes. For cell counting, select the 'Measure' mode. Next, click 'Set up' and input your scale. Ensure the 'Measure' checkbox is ticked, and click 'OK'.

The plugin offers an overlay window with a counter, which you can position on your image. Click on the cells you want to count, and the counter will increase with each click. The cells' XY locations and sizes will be recorded for future analysis or presentation.

Analyzing Results

Once you've counted all cells, the results can be analyzed or presented. Go to 'Analyze' > 'Results'. Here, you'll find a table displaying the cells' sizes, XY locations, and other measured parameters. You can save this data for further analysis.

For presentation purposes, the 'Show [Counter] points' option in the Cell Counter menu will overlay the counted cells with a visible diameter on your image.

And there you have it! Using ImageJ to count cells is a simple, powerful process that can yield invaluable data for your research. With a bit of practice, you'll be a cell counting pro in no time. Happy counting!