OWLIFT Library for Android: DecodeFunc クラス
OWLIFT Library for Android  1.8.0.0
Top Page
全メンバ一覧 | 公開メンバ関数 | 静的公開変数類
DecodeFunc クラス

公開メンバ関数

 DecodeFunc (UvcOwliftFunc func)
 
void setDecodeRange (int min, int max) throws IllegalArgumentException
 
void setAGCRange (int min, int max) throws IllegalArgumentException
 
int getTempTable (OwliftTempTable tempTable)
 
DecodeType getDecodeType ()
 
void setDecodeType (DecodeType type)
 
boolean getNoiseFilter ()
 
void setNoiseFilter (boolean enabled)
 
int getNoiseFilterThreshold ()
 
void setNoiseFilterThreshold (int threshold)
 
boolean getCircumferenceCorrection ()
 
void setCircumferenceCorrection (boolean enabled)
 

静的公開変数類

static final int OWDECODE_NOISE_FILTER_THRESHOLD_DEFAULT = 50
 
static final int OWDECODE_NOISE_FILTER_THRESHOLD_MIN = 1
 
static final int OWDECODE_NOISE_FILTER_THRESHOLD_MAX = 100
 

詳解

Decode class.

構築子と解体子

◆ DecodeFunc()

コンストラクタ。

引数
funcUVC クラスのインスタンス。

メソッド詳解

◆ getCircumferenceCorrection()

boolean getCircumferenceCorrection ( )

円周方向の温度補正の有効・無効の状態を取得します。

戻り値
該当する値。

◆ getDecodeType()

DecodeType getDecodeType ( )

温度を色に変換するタイプを取得します。

戻り値
DecodeType

◆ getNoiseFilter()

boolean getNoiseFilter ( )

ノイズフィルタの有効・無効の状態を取得します。

戻り値
該当する値。

◆ getNoiseFilterThreshold()

int getNoiseFilterThreshold ( )

ノイズフィルタの閾値を取得します。

戻り値
該当する値。

◆ getTempTable()

int getTempTable ( OwliftTempTable  tempTable)

温度テーブルの取得を行います。
この関数を実行したタイミングの温度テーブルを取得できます。
UvcOwliftFunc.Callback.recvBuffer() 関数で実行することで、取得した画像の温度テーブルが取得できます。

引数
tempTable温度テーブル取得クラス。
戻り値
ErrorCode

◆ setAGCRange()

void setAGCRange ( int  min,
int  max 
) throws IllegalArgumentException

自動ゲイン制御の画像変換について、最低温度と最高温度を設定します。

引数
min最低温度。単位は 0.01 Kelvin。
max最高温度。単位は 0.01 Kelvin。
例外
IllegalArgumentException引数不正
minがmax以上の場合にエラーとなります。

◆ setCircumferenceCorrection()

void setCircumferenceCorrection ( boolean  enabled)

円周方向の温度補正の有効・無効の状態を設定します。

引数
enabledtrue : 有効, false : 無効。

◆ setDecodeRange()

void setDecodeRange ( int  min,
int  max 
) throws IllegalArgumentException

マニュアルゲイン制御の画像変換について、最低温度と最高温度を設定します。

引数
min最低温度。単位は 0.01 Kelvin。
max最高温度。単位は 0.01 Kelvin。
例外
IllegalArgumentException引数不正
minがmax以上の場合にエラーとなります。

◆ setDecodeType()

void setDecodeType ( DecodeType  type)

温度を色に変換するタイプを設定します。

引数
type色変換のタイプ
参照
DecodeType

◆ setNoiseFilter()

void setNoiseFilter ( boolean  enabled)

ノイズフィルタの有効・無効の状態を設定します。

引数
enabledtrue : 有効, false : 無効。

◆ setNoiseFilterThreshold()

void setNoiseFilterThreshold ( int  threshold)

ノイズフィルタの閾値を設定します。

引数
thresholdOWDECODE_NOISE_FILTER_THRESHOLD_MIN から OWDECODE_NOISE_FILTER_THRESHOLD_MAX の範囲の値。 OWDECODE_NOISE_FILTER_THRESHOLD_MIN のとき最も補正の強度が小さいです。

メンバ詳解

◆ OWDECODE_NOISE_FILTER_THRESHOLD_DEFAULT

final int OWDECODE_NOISE_FILTER_THRESHOLD_DEFAULT = 50
static

ノイズフィルタの閾値のデフォルト値。

◆ OWDECODE_NOISE_FILTER_THRESHOLD_MAX

final int OWDECODE_NOISE_FILTER_THRESHOLD_MAX = 100
static

ノイズフィルタの閾値の最大値。

◆ OWDECODE_NOISE_FILTER_THRESHOLD_MIN

final int OWDECODE_NOISE_FILTER_THRESHOLD_MIN = 1
static

ノイズフィルタの閾値の最小値。