Package boofcv.gui

Class ImageHistogramPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:

public class ImageHistogramPanel extends JPanel
Draws a histogram of the image's pixel intensity level
See Also:
  • Field Details

    • totalBins

      protected int totalBins
    • maxValue

      protected double maxValue
    • bins

      protected int[] bins
    • marker

      public int marker
    • approximateHistogram

      public boolean approximateHistogram
  • Constructor Details

    • ImageHistogramPanel

      public ImageHistogramPanel(int totalBins, double maxValue)
  • Method Details

    • updateSafe

      public void updateSafe(ImageGray image)
      Update that can be called at any time. Will lock UI thread until it's done
      image -
    • update

      public void update(ImageGray image)
      Update's the histogram. Must only be called in UI thread
    • paintComponent

      public void paintComponent(Graphics g)
      paintComponent in class JComponent
    • setMarker

      public void setMarker(int marker)
    • isApproximateHistogram

      public boolean isApproximateHistogram()
    • setApproximateHistogram

      public void setApproximateHistogram(boolean approximateHistogram)