「lmrcSinogramFETcorrelationMap(API)」の版間の差分
提供: Eospedia
(ページの作成:「DataManip/mrcImage/src/'''lmrcSinogramFETcorrelationMap'''はmrcSinogramFETcorrelationMapのためのAPI です。 == 定数 == == 構造体 == typedef struct lmrc...」) |
|||
行1: | 行1: | ||
− | DataManip/mrcImage/src/'''lmrcSinogramFETcorrelationMap''' | + | DataManip/mrcImage/src/'''lmrcSinogramFETcorrelationMap'''はシノグラムFETファイルの相関のための[[API]]です。[[mrcSinogramFETcorrelationMap]]で使用しています。 |
== 定数 == | == 定数 == | ||
行14: | 行14: | ||
== API == | == API == | ||
− | extern void lmrcSinogramFETcorrelationMap(mrcImage* ,mrcImage* ,mrcImage* ,lmrcSinogramFETcorrelationMapInfo ,int ); | + | === シノグラムFETファイルの相関 === |
− | extern void lmrcSinogramFETnormalizeBySD(mrcImage* ,mrcImage* ,double* ,int ); | + | メイン |
− | + | in1, in2の相関マップをoutへ格納します。 | |
+ | extern void lmrcSinogramFETcorrelationMap(mrcImage* in1, mrcImage* in2, mrcImage* out, lmrcSinogramFETcorrelationMapInfo info, int mode); | ||
+ | info.flagSD=trueのときにlmrcSinogramFETnormalizeBySDを使用します。(info.sdをSDファイルとします)<br> | ||
+ | info.Cmode=trueのときに lmrcSinogramFETcorrelationMapDPを使用します。<br> | ||
+ | <br> | ||
+ | |||
+ | inを入力としsdファイルを使用して正規化を行い、outへ格納します。 | ||
+ | extern void lmrcSinogramFETnormalizeBySD(mrcImage* in, mrcImage* out, double* sd, int mode); | ||
+ | |||
+ | difference product | ||
extern void lmrcSinogramFETcorrelationMapDP(mrcImage* in, mrcImage* out, double* w, int mode); | extern void lmrcSinogramFETcorrelationMapDP(mrcImage* in, mrcImage* out, double* w, int mode); | ||
+ | |||
+ | average of counter pixel presents same line | ||
+ | extern void lmrcSinogramFETcorrelationMapCounterMatching(mrcImage* in, mrcImage* out, int mode); |
2015年3月12日 (木) 06:10時点における版
DataManip/mrcImage/src/lmrcSinogramFETcorrelationMapはシノグラムFETファイルの相関のためのAPIです。mrcSinogramFETcorrelationMapで使用しています。
定数
構造体
typedef struct lmrcSinogramFETcorrelationMapInfo { int flagWeight; mrcImage* Weight; int flagSD; mrcImage* SD; int Nmode,Cmode; int mode; }lmrcSinogramFETcorrelationMapInfo;
API
シノグラムFETファイルの相関
メイン in1, in2の相関マップをoutへ格納します。
extern void lmrcSinogramFETcorrelationMap(mrcImage* in1, mrcImage* in2, mrcImage* out, lmrcSinogramFETcorrelationMapInfo info, int mode);
info.flagSD=trueのときにlmrcSinogramFETnormalizeBySDを使用します。(info.sdをSDファイルとします)
info.Cmode=trueのときに lmrcSinogramFETcorrelationMapDPを使用します。
inを入力としsdファイルを使用して正規化を行い、outへ格納します。
extern void lmrcSinogramFETnormalizeBySD(mrcImage* in, mrcImage* out, double* sd, int mode);
difference product
extern void lmrcSinogramFETcorrelationMapDP(mrcImage* in, mrcImage* out, double* w, int mode);
average of counter pixel presents same line
extern void lmrcSinogramFETcorrelationMapCounterMatching(mrcImage* in, mrcImage* out, int mode);