「lmrcImage3DWindowing(API)」の版間の差分
提供: Eospedia
(ページの作成:「DataManip/mrcImage/src/'''lmrcImage3DWindowing'''はmrcImage3DWindowingのためのAPI です。 == 定数 == == 構造体 == typedef struct lmrcImage3DWindowingIn...」) |
|||
行21: | 行21: | ||
== API == | == API == | ||
− | + | ===窓関数=== | |
extern void lmrcImage3DWindowing(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | extern void lmrcImage3DWindowing(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | ||
+ | modeにより窓関数を選択できます。 | ||
+ | <table border="1"> | ||
+ | <tr> | ||
+ | <th>mode</th> | ||
+ | <th>値</th> | ||
+ | <th>関数</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>lmrcImage3DWindowingModeGaussianRectangularSolid</td> | ||
+ | <td>0</td> | ||
+ | <td>lmrcImage3DWindowingGaussianRectanglularSolid</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>lmrcImage3DWindowingModeCosCylinder</td> | ||
+ | <td>1</td> | ||
+ | <td>lmrcImage3DWindowingCosCylinder</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>lmrcImage3DWindowingModeCosSphere</td> | ||
+ | <td>2</td> | ||
+ | <td>lmrcImage3DWindowingCosSphere</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>lmrcImage3DWindowingModeCosSphereOffset</td> | ||
+ | <td>3</td> | ||
+ | <td>lmrcImage3DWindowingCosSphereOffset</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | ====ガウシアン窓==== | ||
extern void lmrcImage3DWindowingGaussianRectanglularSolid(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | extern void lmrcImage3DWindowingGaussianRectanglularSolid(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | ||
extern void lmrcImage3DWindowingCosCylinder(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | extern void lmrcImage3DWindowingCosCylinder(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | ||
extern void lmrcImage3DWindowingCosSphere(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | extern void lmrcImage3DWindowingCosSphere(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | ||
extern void lmrcImage3DWindowingCosSphereOffset(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | extern void lmrcImage3DWindowingCosSphereOffset(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); | ||
+ | |||
+ | ===ヘルプ=== | ||
+ | extern void lmrcImage3DWindowingUsage(FILE* fpt); |
2014年5月23日 (金) 03:01時点における版
DataManip/mrcImage/src/lmrcImage3DWindowingはmrcImage3DWindowingのためのAPI です。
定数
構造体
typedef struct lmrcImage3DWindowingInfo { mrcImageParaTypeRealCoord center; mrcImageParaTypeRealCoord width; mrcImageParaTypeRealCoord widthCos; mrcImageParaTypeReal radius; mrcImageParaTypeReal widthofR; mrcImageParaTypeReal wz; } lmrcImage3DWindowingInfo; typedef enum lmrcImage3DWindowingMode { lmrcImage3DWindowingModeGaussianRectangularSolid=0, lmrcImage3DWindowingModeCosCylinder=1, lmrcImage3DWindowingModeCosSphere=2, lmrcImage3DWindowingModeCosSphereOffset=3 } lmrcImage3DWindowingMode;
API
窓関数
extern void lmrcImage3DWindowing(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode);
modeにより窓関数を選択できます。
mode | 値 | 関数 |
---|---|---|
lmrcImage3DWindowingModeGaussianRectangularSolid | 0 | lmrcImage3DWindowingGaussianRectanglularSolid |
lmrcImage3DWindowingModeCosCylinder | 1 | lmrcImage3DWindowingCosCylinder |
lmrcImage3DWindowingModeCosSphere | 2 | lmrcImage3DWindowingCosSphere |
lmrcImage3DWindowingModeCosSphereOffset | 3 | lmrcImage3DWindowingCosSphereOffset |
ガウシアン窓
extern void lmrcImage3DWindowingGaussianRectanglularSolid(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); extern void lmrcImage3DWindowingCosCylinder(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); extern void lmrcImage3DWindowingCosSphere(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode); extern void lmrcImage3DWindowingCosSphereOffset(mrcImage* out, mrcImage* in, lmrcImage3DWindowingInfo* linfo, int mode);
ヘルプ
extern void lmrcImage3DWindowingUsage(FILE* fpt);