現在地 >> メニュー >> OpenCV >> IplImage編04
INDEX:IplImage編03 << IplImage編04 >> IplImage編05

2値化処理

2値化処理は、
double cvThreshold(const CvArr* src, CvArr* dst, double threshold, double maxValue, int thresholdType)
を使う。

http://opencv.willowgarage.com/documentation/misce...

なお「CV_THRESH_OTSU」はどれかの手法と組み合わせて使う。
また、深度が8bitでないと使用できない。

サンプルコード

目次

― その他 ―

Wiki内検索

計測中...(07.10.8〜)

Save The World






▲よろしければ広告のクリックもお願いします


▲ランキングに参加しました

管理人/副管理人のみ編集できます