public class ScalableColorImpl
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
_h_value |
protected double |
_quant_h |
protected double |
_quant_s |
protected double |
_quant_v |
protected int |
_s_value |
protected int |
_v_value |
protected int[][][] |
_wholeHist |
protected int |
_xNumOfBlocks |
protected int |
_xSize |
protected int |
_yNumOfBlocks |
protected int |
_ySize |
protected int[] |
haarTransformedHistogram |
protected java.awt.image.BufferedImage |
img |
protected java.util.logging.Logger |
logger |
protected int |
NumberOfBitplanesDiscarded |
protected int |
NumberOfCoefficients |
protected static int[][] |
scalableColorQuantValues |
protected static int[] |
sorttab |
protected static int[][] |
tabelle |
| 构造器和说明 |
|---|
ScalableColorImpl() |
ScalableColorImpl(java.awt.image.BufferedImage image) |
ScalableColorImpl(java.awt.image.BufferedImage image,
int NumberOfCoefficients,
int NumberOfBitplanesDiscarded) |
ScalableColorImpl(int[] pixels)
Use this constructor if the pixel data was taken from
a non rectangular region.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
_Quant(int H,
int S,
int V,
int m,
int n) |
protected static void |
convertRgbToHsv(int R,
int G,
int B,
int[] hsv) |
protected void |
extract() |
void |
extract(java.awt.image.BufferedImage image) |
double |
getDistance(LireFeature descriptor)
Compares one descriptor to another.
|
int[] |
getHaarTransformedHistogram() |
int |
getNumberOfBitplanesDiscarded() |
int |
getNumberOfCoefficients() |
int |
getSimilarity(ScalableColorImpl secHist) |
protected void |
init() |
boolean |
isRecalcable() |
void |
recalc() |
void |
setNumberOfBitplanesDiscarded(int numberOfBitplanesDiscarded) |
void |
setNumberOfCoefficients(int numberOfCoefficients) |
protected java.util.logging.Logger logger
protected java.awt.image.BufferedImage img
protected int NumberOfCoefficients
protected int NumberOfBitplanesDiscarded
protected int _ySize
protected int _xSize
protected int _h_value
protected int _s_value
protected int _v_value
protected double _quant_h
protected double _quant_s
protected double _quant_v
protected int _xNumOfBlocks
protected int _yNumOfBlocks
protected int[][][] _wholeHist
protected int[] haarTransformedHistogram
protected static int[][] scalableColorQuantValues
protected static final int[][] tabelle
protected static final int[] sorttab
public ScalableColorImpl()
public ScalableColorImpl(java.awt.image.BufferedImage image,
int NumberOfCoefficients,
int NumberOfBitplanesDiscarded)
public ScalableColorImpl(java.awt.image.BufferedImage image)
public ScalableColorImpl(int[] pixels)
pixels - gives the pixels one int after another.public void extract(java.awt.image.BufferedImage image)
protected void init()
protected void extract()
public void recalc()
protected static void convertRgbToHsv(int R,
int G,
int B,
int[] hsv)
protected void _Quant(int H,
int S,
int V,
int m,
int n)
public int getSimilarity(ScalableColorImpl secHist)
public int getNumberOfCoefficients()
public void setNumberOfCoefficients(int numberOfCoefficients)
public int getNumberOfBitplanesDiscarded()
public void setNumberOfBitplanesDiscarded(int numberOfBitplanesDiscarded)
public int[] getHaarTransformedHistogram()
public boolean isRecalcable()
public double getDistance(LireFeature descriptor)
descriptor -