「lastigmatismDetection(API)」の版間の差分
提供: Eospedia
(→API) |
|||
| 行10: | 行10: | ||
== API == | == API == | ||
| − | + | linfoを入力とし、非点収差をresultsに格納します。 | |
extern void lastigmatismDetection(ctfInfo* results, lastigmatismDetectionInfo linfo, int mode); | extern void lastigmatismDetection(ctfInfo* results, lastigmatismDetectionInfo linfo, int mode); | ||
| + | |||
| + | == アルゴリズム == | ||
| + | sectionSize毎に推定したデフォーカス値がdefocusに格納されています。 | ||
| + | その値を使って、平均defocus量を求めます。同時に、x、y軸の方向の成分を求め、その結果を使って、非点の軸と長軸、短軸を求めます。 | ||
2015年1月24日 (土) 02:04時点における最新版
DataManip/ctfInfo/src/lastigmatismDetectionは非点収差検出のためのAPI です。ctfDetermineで使用しています。
定数
構造体
typedef struct lastigmatismDetectionInfo {
double* defocus;
int sectionSize;
} lastigmatismDetectionInfo;
API
linfoを入力とし、非点収差をresultsに格納します。
extern void lastigmatismDetection(ctfInfo* results, lastigmatismDetectionInfo linfo, int mode);
アルゴリズム
sectionSize毎に推定したデフォーカス値がdefocusに格納されています。 その値を使って、平均defocus量を求めます。同時に、x、y軸の方向の成分を求め、その結果を使って、非点の軸と長軸、短軸を求めます。