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 intbandCountprotected intbitsPerBandprotected java.lang.Objectimage
-
Constructor Summary
Constructors Modifier Constructor Description protectedHistogram(java.lang.Object image)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetBandCount()abstract int[]getFrequencies(int band)abstract intgetMax(int band)abstract intgetMin(int band)abstract HistogramgetPreview(PreviewSettings previewSetting)protected voidvalidateBand(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-
-
-