Module ij
Package ij.gui

Class HistogramPlot

java.lang.Object
ij.ImagePlus
ij.gui.HistogramPlot
All Implemented Interfaces:
Measurements, java.awt.image.ImageObserver, java.lang.Cloneable

public class HistogramPlot
extends ImagePlus
  • Constructor Details

  • Method Details

    • draw

      public void draw​(java.lang.String title, ImagePlus imp, int bins)
      Plots a histogram using the specified title and number of bins. Currently, the number of bins must be 256 expect for 32 bit images.
    • draw

      public void draw​(ImagePlus imp, int bins, double histMin, double histMax, int yMax)
      Plots a histogram using the specified title, number of bins and histogram range. Currently, the number of bins must be 256 and the histogram range range must be the same as the image range expect for 32 bit images.
    • draw

      public void draw​(ImagePlus imp, ImageStatistics stats)
      Draws the histogram using the specified title and ImageStatistics.
    • drawHistogram

      protected void drawHistogram​(ImageProcessor ip, boolean fixedRange)
    • getHistogram

      public int[] getHistogram()
    • getXValues

      public double[] getXValues()
    • show

      public void show()
      Description copied from class: ImagePlus
      Opens a window to display this image and clears the status bar.
      Overrides:
      show in class ImagePlus