「lEvaluateCorrelationMapwithCommonLine(API)」の版間の差分
提供: Eospedia
(ページの作成:「DataManip/transform/src/'''lEvaluateCorrelationMapwithCommonLine'''はEvaluateCorrelationMapwithCommonLineのためのAPI です。 == 定数 == == 構造体 == ty...」) |
|||
行39: | 行39: | ||
== API == | == API == | ||
extern void lEvaluateCorrelationMapwithCommonLine(lEvaluateCorrelationMapwithCommonLineInfo info, int mode); | extern void lEvaluateCorrelationMapwithCommonLine(lEvaluateCorrelationMapwithCommonLineInfo info, int mode); | ||
+ | <br> | ||
+ | |||
+ | [[シノグラムFET]]の[[相関マップ]]であるinのピークを最大1000個探し、info->peakのリストのメンバx, y, distanceとして格納します。また、ピークの度合いを示したデータをinfo->Outへ格納します。 | ||
extern void lmrcSCMEpeakDetect(mrcImage* in, lmrcSCMEpeakDetectInfo* info, int mode); | extern void lmrcSCMEpeakDetect(mrcImage* in, lmrcSCMEpeakDetectInfo* info, int mode); | ||
+ | ピークの度合いは隣同士で比較したときに最小となる方向がどの程度あるかで設定します。なお、info->peakに格納するデータはは評点が1.0のもののみです。 | ||
+ | <table border> | ||
+ | <tr> | ||
+ | <th>評点</th> | ||
+ | <th>ピークの度合い</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>1.0</td> | ||
+ | <td>縦横斜めで最小</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0.75</td> | ||
+ | <td>縦横で最小</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0.5</td> | ||
+ | <td>縦または横で最小</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0.25</td> | ||
+ | <td>閾値内: (data / info->MaxI) < info->Threshold</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0.0</td> | ||
+ | <td>閾値外</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> |
2015年3月24日 (火) 01:14時点における版
DataManip/transform/src/lEvaluateCorrelationMapwithCommonLineはEvaluateCorrelationMapwithCommonLineのためのAPI です。
定数
構造体
typedef struct lEvaluateCorrelationMapwithCommonLineInfo{ FILE* In; int listLength; FILE* InC; FILE* Out; int PA; int PN; double PDT; int mode; }lEvaluateCorrelationMapwithCommonLineInfo;
typedef struct lmrcSCMEpeakDetectPixelInfo{ int x; int y; double distance; int rank; }lmrcSCMEpeakDetectPixelInfo;
typedef struct lmrcSCMEpeakDetectInfo{ int flagOut; mrcImage* Out; int flagThreshold; double Threshold; int flagCount; int Count; lmrcSCMEpeakDetectPixelInfo peak[1000]; lmrcSCMEpeakDetectPixelInfo highestPeak[50]; double MaxI; int PA; double PDT; int mode; }lmrcSCMEpeakDetectInfo;
API
extern void lEvaluateCorrelationMapwithCommonLine(lEvaluateCorrelationMapwithCommonLineInfo info, int mode);
シノグラムFETの相関マップであるinのピークを最大1000個探し、info->peakのリストのメンバx, y, distanceとして格納します。また、ピークの度合いを示したデータをinfo->Outへ格納します。
extern void lmrcSCMEpeakDetect(mrcImage* in, lmrcSCMEpeakDetectInfo* info, int mode);
ピークの度合いは隣同士で比較したときに最小となる方向がどの程度あるかで設定します。なお、info->peakに格納するデータはは評点が1.0のもののみです。
評点 | ピークの度合い |
---|---|
1.0 | 縦横斜めで最小 |
0.75 | 縦横で最小 |
0.5 | 縦または横で最小 |
0.25 | 閾値内: (data / info->MaxI) < info->Threshold |
0.0 | 閾値外 |