lmrcSinogramFETnormalizedMap(API)

提供: Eospedia
2015年3月12日 (木) 06:25時点におけるKinoshita (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索

DataManip/mrcImage/src/lmrcSinogramFETnormalizedMapmrcSinogramFETnormalizedMapのためのAPI です。

定数

構造体

lmrcSinogramFETnormalizedMapの設定で使用します。

typedef struct lmrcSinogramFETnormalizedMapInfo {
	FILE* In;
	mrcImage* outFET;
	mrcImage* outMAP;
	mrcImage* weight;
	FILE* fptOut;
	FILE* comList;
	int fetz, mapz;
	int flagcomList;
	int flagWeight;
	int flagOutMAP;
	int mode;
	int aatestmode;
}lmrcSinogramFETnormalizedMapInfo;

lmrcSinogramFETnormalizedMapNormalizeの設定で使用します。

typedef struct lmrcSinogramFETnormalizedMapAAtestInfo {
	mrcImage* in;
	FILE* comList;
	//mrcImage* out;
	mrcImage* weight;
	int mode;
	int aatestmode;
}lmrcSinogramFETnormalizedMapAAtestInfo; 

lmrcSinogramFETnormalizedMapAAtestの設定で使用します。

typedef struct lmrcSinogramFETnormalizedMapNormalizeInfo {
	mrcImage* in;
	mrcImage* out;
	mrcImage* avesd;
	int mode;
}lmrcSinogramFETnormalizedMapNormalizeInfo;

API

メイン

lmrcSinogramFETnormalizedMapNormalizeを呼び出します。入力ファイルはin.Inに設定することに注意して下さい。出力ファイルもinのメンバとして格納されます。

extern void lmrcSinogramFETnormalizedMap(lmrcSinogramFETnormalizedMapInfo in, int mode);

in.mode=trueのときにlmrcSinogramFETPCAを使用します。
in.flagcomList=trueのときにlmrcSinogramFETnormalizedMapAAtestを使用します。

正規化

入力ファイルin.inを正規化し、in.outへ格納します。

extern void lmrcSinogramFETnormalizedMapNormalize(lmrcSinogramFETnormalizedMapNormalizeInfo in, int mode);

ファイルチェック

シノグラムFETファイルの全ての特徴量についてチェックを行います。

extern void lmrcSinogramFETnormalizedMapAAtest(lmrcSinogramFETnormalizedMapAAtestInfo in, int mode);