VolkCell

Count nuclei without choosing a threshold

On 100 public images of nuclei, VolkCell was close to the expert count on 97, with nothing to set. No ImageJ setting we tried did better than 94. Try it on your image →

If you have counted cells in ImageJ or Fiji, you know the routine. Pick a threshold. Fill the holes. Run watershed. Choose a minimum size. Then open the next image and wonder whether the same settings still hold.

We wanted to know how much those choices matter. So we counted the same images with 12 ImageJ settings, and with VolkCell, where there are none.

The result

Close to the expert countAverage errorTypical (median) errorOff by more than 25%
VolkCell, nothing to set97 of 1002.6%2.0%0
ImageJ, Otsu + watershed, minimum 20 px944.8%2.5%2
ImageJ, Otsu + watershed, minimum 50 px926.1%4.1%2
ImageJ, Default + watershed, minimum 20 px9470.5%2.3%2
ImageJ, Default + watershed, minimum 50 px9222.8%3.9%2
ImageJ, Otsu, no watershed, minimum 20 px2416.7%14.5%7

"Close" means within 5 nuclei or 10% of the expert count, whichever is larger. Percentages are on the 99 images that contain nuclei.

The images that catch you out

On most of these images a good threshold works well. The trouble is the one where it does not.

One image has 7 nuclei in a large, nearly empty field. VolkCell counted 7, and so did ImageJ with Otsu and watershed. With the Default threshold and watershed, the count was 130 with a minimum size of 50 pixels, and 470 with 20.

VolkCell: 7
VolkCell: 7 (experts: 7)
ImageJ, Default threshold and watershed: 130
ImageJ, Default threshold + watershed, minimum 50 px: 130

Another image has no nuclei at all. VolkCell counted 0. ImageJ with watershed and a minimum of 20 pixels counted 157.

Set a larger minimum and those false objects shrink, but other counts change too: with Otsu and watershed, going from 20 to 50 pixels took the close counts from 94 to 92. That trade is the part you have to get right, image after image. With VolkCell there is no such choice to make.

Keep your Fiji workflow

VolkCell is in Fiji's own list of update sites. Open an image, choose Plugins › VolkCell › Count cells in current image, and the outlines come back as ROIs you can measure, delete or add to. The figures above are for a nuclei count in VolkCell itself. Install the Fiji plugin →

Or skip the install: upload the image in your browser and say what you want counted. The result comes with its outlines, so you can check it. Count your nuclei →

How we did it

The images are the 50 test and 50 validation images of BBBC039: U2OS nuclei stained with Hoechst, every nucleus outlined by experts. It is a widely used public set (Broad Bioimage Benchmark Collection, CC0), which models like ours may have seen in training. We counted each image on its own, with our production settings, run offline on 1 December 2026. By half: VolkCell 48 and 49 of 50 (test and validation), the best ImageJ setting on each 48 and 47. The expert count includes regions of 20 pixels or more. Counted against every published region instead, VolkCell was close on 90 and the best ImageJ setting on 86.

ImageJ ran this macro, with the Default and Otsu thresholds, with and without watershed, and with minimum sizes of 20, 30 and 50 pixels:

setAutoThreshold("Otsu dark");
setOption("BlackBackground", true);
run("Convert to Mask");
run("Fill Holes");
run("Watershed");
run("Analyze Particles...", "size=20-Infinity display clear");

Images: BBBC039, Caicedo et al., Broad Bioimage Benchmark Collection (Ljosa et al., Nature Methods 2012).