lmrcSinogramFETnormalizedMap(API)
提供: Eospedia
DataManip/mrcImage/src/lmrcSinogramFETnormalizedMapはmrcSinogramFETnormalizedMapのための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);