- threshold
グレースケールから白黒二値に変換する際のしきい値
- malib_grey2bw_new ()
コンストラクタ- malib_grey2bw_new_with_buf (MalibBuffer* buf)
コンストラクタ。入力となるバッファを引数で指定する- malib_grey2bw_new_with_threshold (MalibBuffer* buf, int threshold)
コンストラクタ。入力となるバッファおよび白黒二値に変換するた めのしきい値を引数で指定する- malib_grey2bw_set_buffer (MalibGrey2BW* filter, MalibBuffer* buf)
入力バッファを設定する- malib_grey2bw_set_threshold (MalibGrey2BW* filter, int threshold)
白黒二値に変換するためのしきい値を指定する
- malib_grey2bw_write_frame_data (MalibGrey2BW* filter,
MalibFrame* frame)
malib_source_write_frame_data())の実体となる 関数である。本クラスが提供するフィルタ処理を実装する