mianalysis.h

来自「3D reconstruction, medical image process」· C头文件 代码 · 共 81 行

H
81
字号
// MIAnalysis.h: interface for the RxMIAnalysis class.////////////////////////////////////////////////////////////////////////////	Title: Header file for mutual information analysis////////////////////////////////////////////////////////////////////////////	Author: Helen Hong, 3DMed co. LTD//	138-dong 417-ho Seoul National Univ.//	Shinlim-dong, Kwanak-gu, Seoul, Korea//	(Email. hlhong@cglab.snu.ac.kr)////	Update		: 2002. 10. 10.//	Last Update	: 2002. 11. 5.////////////////////////////////////////////////////////////////////////#if !defined(AFX_MIANALYSIS_H__D5D3327E_1980_445A_985D_F04F8DC0394C__INCLUDED_)#define AFX_MIANALYSIS_H__D5D3327E_1980_445A_985D_F04F8DC0394C__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000class RxVolumeInfo;class RxTransform3DInfo;class RxMIAnalysis  {public:	RxMIAnalysis();	virtual ~RxMIAnalysis();protected:	unsigned short		*m_pnReferVolume,						// reference volume						*m_pnFloatVolume;	short				m_ReferVolX,							// reference volume resolution						m_ReferVolY,						m_ReferVolZ,						m_FloatVolX,							// float volume resolution						m_FloatVolY,						m_FloatVolZ;	double				**m_JointHistogram;	RxTransform3DInfo	*m_pTrans;public:	BOOL				SetReferVolume(unsigned short *Buf,short iVolX,short iVolY,short iVolZ);	BOOL				SetFloatVolume(unsigned short *Buf,short iVolX,short iVolY,short iVolZ);	BOOL				SetTransformation(RxTransform3DInfo *Trans);	void				ComputeMI();protected:/*	BOOL				InitialJointHistogram();	BOOL				ComputeTransformedVector();	BOOL				UpdateJointHistogram();	BOOL				ComputeMISub();		BOOL				InitialJointHistogram();	void				DESTROY_BiHistogram();	void				DESTROY_BiPDF();	BOOL				AllocateVolumeData(unsigned short **Buf,short iVolX,short iVolY,short iVolZ);	BOOL				ReleaseVolumeData(unsigned short *Buf,short iVolX,short iVolY,short iVolZ);	BOOL				SetBiHistogram();	BOOL				SetBiPDF();	BOOL				BiHistogram();	BOOL				BiPDF();	double				JointEntropy();	double				ReferMarginalEntropy();	double				FloatMarginalEntropy();	double				ReferMarginalProbability(int index);	double				FloatMarginalProbability(int index);	BOOL				GetTransVolumeData();	BOOL				GetIntensity3D(unsigned short *Buf,short iVolX,short iVolY,short iVolZ,short x,short y,short z);	*/};#endif // !defined(AFX_MIANALYSIS_H__D5D3327E_1980_445A_985D_F04F8DC0394C__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?