Home / Science / Molecular and cell biology / Cell biology and cell culture / Fluorescence image analyserTool #191

Fluorescence image analyser: count nuclei and measure area and intensity in a microscope image

Open a fluorescence microscope image, pick the channel, take away the background, set a threshold and split touching nuclei. Get the count, each object's area, mean and integrated intensity, a histogram, an outlined and numbered overlay, a CSV and a report. The image stays in your browser.

Keep it one tap away for everyday use.

Bookmark Fluorescence image analyser?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Image
  2. Settings
  3. Count
  4. Measure
Nothing is uploadedWorks offline once open

Image

Open a microscope image (PNG, JPEG or TIFF your browser can show), ideally the original file, not a screenshot, with no contrast changes. The image stays on your device and is never uploaded.

What it does

Counting nuclei and measuring how bright they are is one of the most common jobs with a fluorescence microscope. The usual tool is ImageJ or Fiji with a short recipe: pick the channel, subtract the background, threshold, fill holes, watershed, analyse particles. This page runs the same recipe inside your browser, with nothing to install:

  • Channel. Blue for DAPI or Hoechst, green for GFP or FITC, red for mCherry or Texas Red, or grey (all colours mixed). For a stained bright-field image, choose Dark on light and the page flips it.
  • Background. The rolling ball rolls a ball of the chosen radius under the image and takes away the surface it traces, which removes uneven illumination but keeps anything narrower than the ball. Constant level takes away one number (automatic: the most common grey level). None measures raw values.
  • Threshold. Otsu splits the histogram into two groups as cleanly as possible and suits bright, clear nuclei. Triangle suits images that are mostly dark background with dim objects, and keeps more of each object’s faint edge. Or type your own level.
  • Fill holes and split. Fill holes closes dark spots (such as nucleoli) inside a nucleus. Split touching nuclei uses a distance map and a watershed: two round nuclei joined at a narrow waist are cut there.
  • Size limits. Objects smaller than the smallest size (dust, debris) or bigger than the largest (clumps) are left out of the count. You can also leave out objects cut off by the edge of the image.
  • Measurements. For every object: centre, area (in µm² if you give the pixel size), mean, integrated (sum) and maximum intensity after background. A log-scale histogram shows where the threshold falls.

How to use it

  1. Image. Open the original image from the microscope (a PNG or JPEG export is fine; a TIFF works if your browser can show it). Avoid screenshots and do not change contrast first. Large images are scaled to 1000 px on the long side.
  2. Settings. Pick the channel, then check the yellow outlines over the image. Use Show to view the chosen channel in grey or the threshold mask.
  3. Count. Read the number of objects. If touching nuclei are counted as one, tick Split touching nuclei; if dust is counted, raise Smallest object.
  4. Measure. Read the table, then download the objects CSV, the overlay as a PNG, or a PNG, PDF or Word report.

Worked example

The example is a made-up image, 400 × 300 px, drawn by the page: 30 blue nuclei on a background that gets brighter to the right, with a little noise. Three pairs of nuclei touch, 8 nuclei are also green, one has a dark nucleolus, and there are 3 tiny specks of dust.

With the default settings (blue channel, rolling ball of 50 px, Otsu, fill holes, split touching nuclei, smallest object 50 px) the page finds 30 objects with a threshold of 67. The mean area is 281.8 px, the objects cover 7.04 % of the image, the mean intensity is 127 and the 3 specks are left out. Object 1, top left, is 254 px with a mean of 90.6.

Untick Split touching nuclei and the count drops to 27, because each touching pair is counted once. Switch to the triangle threshold and the count stays at 30, but the threshold drops to 14 and the mean area grows to 411.1 px, since the dim edges are now included. Choose the green channel and the page finds the 8 green nuclei.

Tips

  • Take every image you compare with the same exposure, gain and objective, and keep the brightest nuclei below the top of the range (255).
  • Make the ball radius larger than the biggest nucleus, or the middle of large nuclei is taken away as background.
  • Check the outlines. Nuclei that are cut in two by the watershed are usually elongated or lobed; untick the split for those images.
  • Intensities are on the 0 to 255 scale of the image file. Only compare them between images taken the same way.

FAQ

Does my image get uploaded? No. It is read and analysed on this page only and is never sent or stored.

Why does the count differ a little from ImageJ? The steps are the same, but ImageJ shrinks the image for its rolling ball and draws one-pixel lines between split nuclei. Counts usually agree; areas can differ by a few pixels.

Can I use 16-bit images? Browsers read images as 8-bit, so a 16-bit TIFF is shown with 256 levels at most. Export an 8-bit copy with the same display range for every image you compare.

What is integrated intensity? The sum of the pixel values over the object, which is the mean times the area. It follows the total amount of stain, for example DNA content per nucleus.

Where the numbers come from

  • Rolling-ball background (done exactly as a grey-scale opening with a paraboloid), Otsu and triangle thresholds, hole filling, 8-connected labelling, the distance map and the watershed are written by fibub and checked in the tests against SciPy and scikit-image.
  • Otsu, N. (1979) and Zack, Rogers and Latt (1977) for the two automatic thresholds; Felzenszwalb and Huttenlocher (2012) for the distance transform. Methods only, no numbers are copied.
  • The example image is drawn by the page from 30 made-up nuclei (3 touching pairs, 8 also green, 1 with a dark nucleolus) and 3 specks of dust, and the tests check that the page counts 30.
  • An image you open is read on the page only. It is never uploaded or stored.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Change log for Fluorescence image analyser

  1. Add #191 Fluorescence image analyser Details on GitHub

Every change to fibub

Related tools

Gel and western blot densitometry #180 Open a photo of an SDS-PAGE gel, a DNA gel or a western blot and measure every band: lane profiles, a straight-line or rolling background, band volumes, amounts relative to a reference lane and divided by a loading control, with a warning for saturated bands. The photo stays in your browser. Hemocytometer cell counter #36 Tally live and dead cells square by square with on-screen buttons or the keyboard. Get cells per mL, viability, the counting error, and exactly how much suspension and medium to mix to seed your plates. Cell doubling time and passage planner #189 Type two or more cell counts and get the doubling time from a log-linear fit, with the growth rate, generations and a 95 % interval. Then plan the next passage: how many cells to seed per flask or well to reach a target confluence on the day you want, the split ratio, the volume to pipette and a schedule of the next passages. Transfection and plate layout planner #190 Lay out your constructs, controls and replicates on a 6 to 384-well plate, automatically or by tapping wells. Get the DNA, reagent, diluent and medium for every tube and well from your amounts per well, with a spare margin, a printable colour plate map and a pipetting table. Flow cytometry FCS viewer #192 Open an FCS 2.0, 3.0 or 3.1 file from any flow cytometer, compensate it with its own spillover matrix, plot any two channels on linear, log or arcsinh axes, and tap the plot to draw rectangle, polygon, quadrant and range gates inside each other. Counts and percentages update at once; download gate stats and gated events as CSV. The file stays in your browser. Cryovial inventory and freezing helper #193 Keep track of frozen cell vials in your freezers, racks and 9 × 9 or 10 × 10 boxes: line, passage, date frozen, cells per vial, medium and who froze them. Search and filter, mark vials thawed with a thaw log, print a box map, save and open CSV or JSON files, and work out the cells and freezing medium (DMSO % editable) for a new batch. Nothing leaves your device.