「lmrcImageFourierNeighborCorrelation(API)」の版間の差分
提供: Eospedia
(ページの作成:「DataManip/mrcImage/src/'''lmrcImageFourierNeighborCorrelation'''はフーリエ空間の冗長性を利用した分解能をチェックするためのAPIです...」) |
(→メイン) |
||
(同じ利用者による、間の1版が非表示) | |||
行46: | 行46: | ||
=== FourierNeighborCorrelation === | === FourierNeighborCorrelation === | ||
==== メイン ==== | ==== メイン ==== | ||
+ | 入力画像inに対し、FourierNeighborCorrelationを行い結果をresに返します。<br> | ||
extern void | extern void | ||
lmrcImageFourierNeighborCorrelation(lmrcImageFourierNeighborCorrelationResult* res, | lmrcImageFourierNeighborCorrelation(lmrcImageFourierNeighborCorrelationResult* res, | ||
mrcImage* in, | mrcImage* in, | ||
lmrcImageFourierNeighborCorrelationInfo linfo, int mode); | lmrcImageFourierNeighborCorrelationInfo linfo, int mode); | ||
+ | linfo.flagCentreにより中心座標を選択できます。<br> | ||
+ | <table border="1"> | ||
+ | <tr> | ||
+ | <th>linfo.flagCentre</th> | ||
+ | <th>説明</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>lmrcImageFourierNeighborCorrelationCentreModeCentre</td> | ||
+ | <td>中心を画像の中心とする: (Nx/2.0, Ny/2.0, Nz/2.0 )</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>lmrcImageFourierNeighborCorrelationCentreModeBottomLeft</td> | ||
+ | <td>中心を原点(左下端)とする: (0, 0, 0 )</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>lmrcImageFourierNeighborCorrelationCentreModeUseStartN</td> | ||
+ | <td>中心を画像のStartNとする: (StartNx,StartNy,StartNz)</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
==== ファイル出力 ==== | ==== ファイル出力 ==== |
2015年3月11日 (水) 06:43時点における最新版
DataManip/mrcImage/src/lmrcImageFourierNeighborCorrelationはフーリエ空間の冗長性を利用した分解能をチェックするためのAPIです。mrcImageFourierNeighborCorrelationにて使用しています。
定数
typedef enum lmrcImageFourierNeighborCorrelationCentreMode { lmrcImageFourierNeighborCorrelationCentreModeCentre = 0, lmrcImageFourierNeighborCorrelationCentreModeBottomLeft = 1, lmrcImageFourierNeighborCorrelationCentreModeUseStartN = 2 } lmrcImageFourierNeighborCorrelationCentreMode;
構造体
typedef struct lmrcImageFourierNeighborCorrelationInfo { lmrcImageFourierNeighborCorrelationCentreMode flagCentre; mrcPixelDataHowToGet shiftMode; double delta; int flagPredictedFSC; mrcImage objMask; // 1: Object mrcImage backMask; // 1: Background } lmrcImageFourierNeighborCorrelationInfo;
typedef struct lmrcImageFourierNeighborCorrelationResult { int nR; double* R; double* data; int* N; double FNCF; double FNCN; double* FNCFs; double* FNCNs; double* SNR; double* FSC; int flagFSCfull; double* FSCfull; int flagCref; double* Cref; int flagNoiseWeighted; double Brestore; double* NoiseWeighted; } lmrcImageFourierNeighborCorrelationResult;
API
FourierNeighborCorrelation
メイン
入力画像inに対し、FourierNeighborCorrelationを行い結果をresに返します。
extern void lmrcImageFourierNeighborCorrelation(lmrcImageFourierNeighborCorrelationResult* res, mrcImage* in, lmrcImageFourierNeighborCorrelationInfo linfo, int mode);
linfo.flagCentreにより中心座標を選択できます。
linfo.flagCentre | 説明 |
---|---|
lmrcImageFourierNeighborCorrelationCentreModeCentre | 中心を画像の中心とする: (Nx/2.0, Ny/2.0, Nz/2.0 ) |
lmrcImageFourierNeighborCorrelationCentreModeBottomLeft | 中心を原点(左下端)とする: (0, 0, 0 ) |
lmrcImageFourierNeighborCorrelationCentreModeUseStartN | 中心を画像のStartNとする: (StartNx,StartNy,StartNz) |
ファイル出力
extern void lmrcImageFourierNeighborCorrelationPrint(FILE* fpt, lmrcImageFourierNeighborCorrelationResult* res, lmrcImageFourierNeighborCorrelationInfo linfo, int mode);
API情報
モード説明を出力
extern void lmrcImageFourierNeighborCorrelationPrintCentreMode(FILE* fpt);