Frequently Asked Questions

  • How should I cite ImageJ?
  • How can I report a bug?
  • How does "Auto" thresholding work?

    How should I cite ImageJ in a scientific paper?
    Here are two possible ways to reference ImageJ:
    1. Rasband, W.S., ImageJ, U. S. National Institutes of Health, Bethesda,
      Maryland, USA, http://rsb.info.nih.gov/ij/, 1997-2006.

    2. Abramoff, M.D., Magelhaes, P.J., Ram, S.J. "Image Processing with ImageJ".
      Biophotonics International, volume 11, issue 7, pp. 36-42, 2004.
    How can I report a bug?
    Send bug reports to wsr at nih.gov. Include the following information:
    • ImageJ version
    • OS version
    • Java version (shown in Help/About ImageJ)
    • Memory assigned to ImageJ (Edit/Options/Memory) and memory available
    • Any error messages
    • Steps needed to reproduce the problem
    Before sending a bug report, upgrade to the latest version of ImageJ and try to reproduce the bug on more than one machine.

    How does "Auto" thresholding work?
    The automatic thresholding function used by Image/Adjust/Threshold and Process/Binary/Threshold divides the image into objects and background. It does this by taking a test threshold and computing the average of the pixels at or below the threshold and pixels above. It then computes the average of those two, increments the threshold, and repeats the process. Incrementing stops when the threshold is larger than the composite average. That is,
    threshold = (average background + average objects)/2
    The code in ImageJ that implements this function is the getAutoThreshold() method in the ImageProcessor class.

    The online Image Processing Fundamentals tutorial discusses thresholding techniques. ImageJ uses the Isodata algorithm.

  • | Documentation | Home |