ImageJ Cell Counter Tutorial: A Step-by-Step Guide

Charles Jul 17, 2026

ImageJ is a popular, open-source image processing program widely used in scientific research. One of its powerful features is the ability to count cells, organelles, or any other particles in an image. This tutorial will guide you through the process of using ImageJ for cell counting, ensuring accurate and efficient results.

Blender tutorial-Make a cell
Blender tutorial-Make a cell

Before we start, make sure you have ImageJ installed on your computer. You can download it from the official website (imagej.nih.gov/ij/). Now, let's dive into the step-by-step tutorial.

an info sheet showing how to use gel - shading
an info sheet showing how to use gel - shading

The Cell Counter Plugin

ImageJ has a built-in Cell Counter plugin that simplifies the cell counting process. Let's explore how to access and use this plugin.

the inside of a cell phone case with circles and dots in green, purple, and white
the inside of a cell phone case with circles and dots in green, purple, and white

First, open your image in ImageJ. If you haven't imported it yet, go to 'File' > 'Open', then select your image file and click 'Open'.

Activating the Cell Counter Plugin

Android phone settings
Android phone settings

To access the Cell Counter plugin, navigate to 'Plugins' > 'Cell Counter'. The plugin will open, displaying two windows: the cell counter window and your original image window.

Before we start counting, let's understand the cell counter window. You'll see a panel on the left with numbers. These numbers represent different classes of particles you can count. Initially, there's only one class, 'Departments', which you can rename or add more classes according to your needs.

Adjusting Counting Preferences

an electronic circuit board is shown in blue
an electronic circuit board is shown in blue

Now, let's adjust the counting preferences to suit your image. In the cell counter window, click on 'Setup'. This will open a new window where you can set various parameters, such as particle size, circularity, and show outline. Adjust these parameters based on your image's characteristics.

For example, if you're counting cells, you might set the particle size to a range that includes most cells but excludes noise or debris. You can also adjust the circularity slider to exclude elongated particles. Once satisfied with your settings, click 'OK' to apply them.

Counting Cells

someone is holding a pen and pointing to the screen
someone is holding a pen and pointing to the screen

Now that we've set everything up, let's start counting cells. In the cell counter window, click on 'Add'. This will add a new number on the left panel, indicating a new class for your particles.

Back in your image window, use the 'm' key to draw a line around the area you want to count. Once you've outlined the area, press 'Enter'. The number in the cell counter window will increment, indicating that the particles within the outlined area have been counted.

a cake that has some scissors on top of it with name tags in front of it
a cake that has some scissors on top of it with name tags in front of it
Sky Light digital art
Sky Light digital art
How to Get BIG Cells!
How to Get BIG Cells!
a screenshot of a minecraft character standing in front of a brick wall with an arrow pointing to the left
a screenshot of a minecraft character standing in front of a brick wall with an arrow pointing to the left
the video conferencing screen is displayed on an ipad device with icons and buttons
the video conferencing screen is displayed on an ipad device with icons and buttons
a computer monitor sitting on top of a desk with a keyboard and mouse next to it
a computer monitor sitting on top of a desk with a keyboard and mouse next to it
an animal cell is shown in black and white, as well as the diagram for its structure
an animal cell is shown in black and white, as well as the diagram for its structure
two hands are holding an iphone with a drawing on the screen and another hand is pointing at it
two hands are holding an iphone with a drawing on the screen and another hand is pointing at it
Making a Mock or Fake Phone Screen | Comic Drawing Tips
Making a Mock or Fake Phone Screen | Comic Drawing Tips

Manually Correcting Counts

ImageJ won't always count particles perfectly, so it's essential to manually verify and correct the counts. To do this, click on the 'Show' checkbox for a particular class in the cell counter window. This will display an outline around each particle in that class in your image window.

If there's an error, such as a particle being counted twice or not being counted at all, you can correct it manually. Double-click on the corresponding number in the cell counter window. This will open a dialog box where you can decrease or increase the count, or if the particle should be ignored, click 'Ignore'.

Results and Analysis

Once you've counted all the cells in your image, you can save your results for further analysis. In the cell counter window, click 'Results'. This will open a new window displaying a table of your count data. You can copy this table to a spreadsheet program like Excel for further analysis.

Don't forget to save your image with the counts if you want to keep track of your work. Go to 'File' > 'Save As', choose the file type (like '.tif' or '.png'), and click 'Save'. Now, you can close ImageJ and reopen it to start a new counting session.

Cell counting with ImageJ can be a powerful tool, especially when combined with other image processing techniques. Keep practicing and expanding your skills to make the most of this versatile software. Happy counting!