「lmrcSinogramFETnormalizedMap(API)」の版間の差分
提供: Eospedia
行39: | 行39: | ||
== API == | == API == | ||
+ | === メイン === | ||
+ | lmrcSinogramFETnormalizedMapNormalizeを呼び出します。入力ファイルはin.Inに設定することに注意して下さい。出力ファイルもinのメンバとして格納されます。 | ||
extern void lmrcSinogramFETnormalizedMap(lmrcSinogramFETnormalizedMapInfo in, int mode); | extern void lmrcSinogramFETnormalizedMap(lmrcSinogramFETnormalizedMapInfo in, int mode); | ||
+ | in.mode=trueのときにlmrcSinogramFETPCAを使用します。<br> | ||
+ | in.flagcomList=trueのときにlmrcSinogramFETnormalizedMapAAtestを使用します。<br> | ||
+ | <br> | ||
+ | |||
+ | === 正規化 === | ||
+ | 入力ファイルin.inを正規化し、in.outへ格納します。 | ||
extern void lmrcSinogramFETnormalizedMapNormalize(lmrcSinogramFETnormalizedMapNormalizeInfo in, int mode); | extern void lmrcSinogramFETnormalizedMapNormalize(lmrcSinogramFETnormalizedMapNormalizeInfo in, int mode); | ||
+ | |||
+ | === ファイルチェック === | ||
+ | シノグラムFETファイルの全ての特徴量についてチェックを行います。 | ||
extern void lmrcSinogramFETnormalizedMapAAtest(lmrcSinogramFETnormalizedMapAAtestInfo in, int mode); | extern void lmrcSinogramFETnormalizedMapAAtest(lmrcSinogramFETnormalizedMapAAtestInfo in, int mode); |
2015年3月12日 (木) 06:25時点における最新版
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);