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


フィールドの概要
static int BLACK
           
static int[] BLACK_COLOR
           
static int WHITE
           
static int[] WHITE_COLOR
           
 
コンストラクタの概要
RasterSource()
           
RasterSource(java.awt.image.BufferedImage image)
           
RasterSource(java.awt.image.Raster raster)
           
RasterSource(RasterSource source)
           
 
メソッドの概要
 java.awt.image.WritableRaster createCompatibleWritableRaster(int w, int h)
           
static java.awt.image.BufferedImage createImage(java.awt.image.Raster src)
           
static java.awt.image.BufferedImage createImage(java.awt.image.Raster src, boolean isRGBMode)
           
 int getHeight()
           
 int getNumBands()
           
 java.awt.image.Raster getRaster()
           
 int getRGBColor(int x, int y)
           
 int getRGBColor(java.awt.geom.Point2D p)
           
 RasterSource getSource()
           
 int getThreshold()
           
 int getWidth()
           
 boolean isBlack(int src)
           
 boolean isBlack(int x, int y)
           
 void setThreshold(int threshold)
           
 
クラス 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)