BufferedImageOp, Cloneablepublic class LevelsFilter extends WholeImageFilter
originalSpace, transformedSpace| 构造器 | 说明 |
|---|---|
LevelsFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace) |
Actually filter the pixels.
|
int |
filterRGB(int x,
int y,
int rgb) |
|
float |
getHighLevel() |
|
float |
getHighOutputLevel() |
|
float |
getLowLevel() |
|
float |
getLowOutputLevel() |
|
void |
setHighLevel(float highLevel) |
|
void |
setHighOutputLevel(float highOutputLevel) |
|
void |
setLowLevel(float lowLevel) |
|
void |
setLowOutputLevel(float lowOutputLevel) |
|
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBfilter, transformSpacepublic void setLowLevel(float lowLevel)
public float getLowLevel()
public void setHighLevel(float highLevel)
public float getHighLevel()
public void setLowOutputLevel(float lowOutputLevel)
public float getLowOutputLevel()
public void setHighOutputLevel(float highOutputLevel)
public float getHighOutputLevel()
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
WholeImageFilterfilterPixels 在类中 WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output boundspublic int filterRGB(int x,
int y,
int rgb)
Copyright © 2019. All rights reserved.