jp.ac.nime.computer.grpsimulator.ImgPr
クラス MeasureScale

java.lang.Object
  拡張jp.ac.nime.computer.grpsimulator.ImgPr.MeasureScale

public class MeasureScale
extends java.lang.Object

画像計測 拡大縮小(膨張・縮小)

バージョン:
1.0.0
作成者:
Kikuchi

フィールドの概要
static int CONTRACT4
           
static int CONTRACT8
           
static int EXPAND4
           
static int EXPAND8
           
static int WHITEBLACK
           
 
コンストラクタの概要
MeasureScale()
           
 
メソッドの概要
static boolean action(int nOp, int nAction, java.awt.image.BufferedImage imgSrc, java.awt.image.BufferedImage imgDst)
          膨張縮小計算
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

WHITEBLACK

public static final int WHITEBLACK
関連項目:
定数フィールド値

EXPAND4

public static final int EXPAND4
関連項目:
定数フィールド値

CONTRACT4

public static final int CONTRACT4
関連項目:
定数フィールド値

EXPAND8

public static final int EXPAND8
関連項目:
定数フィールド値

CONTRACT8

public static final int CONTRACT8
関連項目:
定数フィールド値
コンストラクタの詳細

MeasureScale

public MeasureScale()
メソッドの詳細

action

public static boolean action(int nOp,
                             int nAction,
                             java.awt.image.BufferedImage imgSrc,
                             java.awt.image.BufferedImage imgDst)
膨張縮小計算

パラメータ:
nOp - 0:操作対象が黒 1:操作対象が白 (nAction==WHITEBLACKのときは 1のとき白黒反転する)
nAction - 動作内容 WHITEBLACK:二値化 EXPAND4:4連結拡大 CONTRACT4:4連結縮小 EXPAND8:8連結拡大 CONTRACT8:8連結縮小
imgSrc - YUV形式画像
imgDst - YUV形式画像