net.sf.sqs_xml.image
クラス RasterSource
java.lang.Object
net.sf.sqs_xml.image.RasterSource
- 直系の既知のサブクラス:
- ImageTranslationFilter, NoiseCancelFilter, ReaderSource
- public class RasterSource
- extends java.lang.Object
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLACK
public static final int BLACK
- 関連項目:
- 定数フィールド値
BLACK_COLOR
public static final int[] BLACK_COLOR
WHITE
public static final int WHITE
- 関連項目:
- 定数フィールド値
WHITE_COLOR
public static final int[] WHITE_COLOR
RasterSource
public RasterSource()
RasterSource
public RasterSource(java.awt.image.BufferedImage image)
RasterSource
public RasterSource(java.awt.image.Raster raster)
RasterSource
public RasterSource(RasterSource source)
setThreshold
public void setThreshold(int threshold)
getThreshold
public int getThreshold()
getWidth
public final int getWidth()
getHeight
public final int getHeight()
isBlack
public final boolean isBlack(int src)
isBlack
public boolean isBlack(int x,
int y)
getRGBColor
public int getRGBColor(java.awt.geom.Point2D p)
getRGBColor
public int getRGBColor(int x,
int y)
getRaster
public java.awt.image.Raster getRaster()
createCompatibleWritableRaster
public java.awt.image.WritableRaster createCompatibleWritableRaster(int w,
int h)
getNumBands
public int getNumBands()
getSource
public RasterSource getSource()
createImage
public static java.awt.image.BufferedImage createImage(java.awt.image.Raster src)
createImage
public static java.awt.image.BufferedImage createImage(java.awt.image.Raster src,
boolean isRGBMode)