「lmrcImageSinogram(API)」の版間の差分

提供: Eospedia
移動: 案内検索
(ページの作成:「DataManip/mrcImage/src/'''lmrcImageSinogram'''はシノグラムのためのAPI です。mrcImageSinogramCreateなどで使用されています。 == 定数 == == ...」)
 
行1: 行1:
DataManip/mrcImage/src/'''lmrcImageSinogram'''はシノグラムのためのAPI です。[[mrcImageSinogramCreate]]などで使用されています。
+
DataManip/mrcImage/src/'''lmrcImageSinogram'''はシノグラムのためのAPI です。[[mrcImageSinogramCreate]]や[[mrcImageSinogramCorrelation]]などで使用されています。
  
 
== 定数 ==
 
== 定数 ==
  
 
== 構造体 ==
 
== 構造体 ==
 +
このAPIで使用する設定データです。
 
  typedef struct lmrcImageSinogramInfo {
 
  typedef struct lmrcImageSinogramInfo {
 
  double dphi;
 
  double dphi;

2014年5月19日 (月) 05:58時点における版

DataManip/mrcImage/src/lmrcImageSinogramはシノグラムのためのAPI です。mrcImageSinogramCreatemrcImageSinogramCorrelationなどで使用されています。

定数

構造体

このAPIで使用する設定データです。

typedef struct lmrcImageSinogramInfo {
	double dphi;
	double Smalldphi;
	int correlationMode;
	int LengthMode;
	int LengthCorrelationMode;
	int LengthThresholdMode;

	double weightOf0thDerivation;
	double weightOf1stDerivation;
	double weightOf2ndDerivation;
	double threshold;
	double LengthCorrelationThreshold;
	double weightOfLength;
	double LengthThresholdRatio;
} lmrcImageSinogramInfo;

API

変換

2D画像からシノグラム画像への変換

extern void lmrcImageSinogramCreate(mrcImage* out, mrcImage* in, lmrcImageSinogramInfo* linfo, int mode);

相関

extern void lmrcImageSinogramCorrelation(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);
void lmrcImageSinogramCorrelation0(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);
double lmrcImageOneLineSinogramCorrelation0(mrcImage* in, mrcImage* ref, int mode);
void lmrcImageSinogramCorrelation1(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);
void lmrcImageSinogramCorrelation2(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);

Derivation

void lmrcImageDerivationCalculation(mrcImage* out, mrcImage* in, int mode);
void lmrcImageOneLineDerivationCalculation(mrcImage* out, mrcImage* in, int mode);

Length

void lmrcImageSinogramLengthCorrelation(mrcImage* out, mrcImage* in, mrcImage* ref, lmrcImageSinogramInfo* linfo, int mode);