Package it.tidalwave.image
Class Histogram
- java.lang.Object
-
- it.tidalwave.image.Histogram
-
- Direct Known Subclasses:
HistogramJava2D
public abstract class Histogram extends java.lang.Object
- Author:
- Fabrizio Giudici
-
-
Field Summary
Fields Modifier and Type Field Description protected int
bandCount
protected int
bitsPerBand
protected java.lang.Object
image
-
Constructor Summary
Constructors Modifier Constructor Description protected
Histogram(java.lang.Object image)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
getBandCount()
abstract int[]
getFrequencies(int band)
abstract int
getMax(int band)
abstract int
getMin(int band)
abstract Histogram
getPreview(PreviewSettings previewSetting)
protected void
validateBand(int band)
-
-
-
Method Detail
-
getFrequencies
public abstract int[] getFrequencies(int band)
- Parameters:
band
-- Returns:
-
getMin
public abstract int getMin(int band)
- Parameters:
band
-- Returns:
-
getMax
public abstract int getMax(int band)
- Parameters:
band
-- Returns:
-
getBandCount
public int getBandCount()
- Returns:
-
getPreview
public abstract Histogram getPreview(PreviewSettings previewSetting)
- Parameters:
previewSetting
-- Returns:
-
validateBand
protected void validateBand(int band)
- Parameters:
band
-
-
-