filters.h

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

H
34
字号
// Filters.h: interface for the RxxFilters class.////////////////////////////////////////////////////////////////////////#if !defined(AFX_FILTERS_H__5F59EF42_AA59_4CC3_8B75_29B038E09026__INCLUDED_)#define AFX_FILTERS_H__5F59EF42_AA59_4CC3_8B75_29B038E09026__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000class RxxFilters  {public:		BYTE* SobelProcessing(unsigned short *pGrayImage, int nCol, int nRow);	BYTE* CannyProcessing(unsigned short* pGrayImage, int nCol, int nRow);	BYTE* GrayProcessing();	void GaussianConvolution(unsigned short *data, int row, int col,int rMask, int cMask, double sigma);		RxxFilters();	virtual ~RxxFilters();	BYTE *m_pCanny;protected:	void convolution(unsigned short *data,int row, int col, double *convolutionMask,int mRow,int mCol);	double convolveMask(unsigned short *pData,double *pConvolutionMask,int nStartIndex, int col, int mCol);	void intConvolution(unsigned short *data,int row, int col, double *convolutionMask,int mRow,int mCol);	void genGaussMask(double *gaussMask,int row,int col,double sigma);	double gaussian(double u,double v,double twoSigmaSqWithConst);	void Empty();};#endif // !defined(AFX_FILTERS_H__5F59EF42_AA59_4CC3_8B75_29B038E09026__INCLUDED_)

⌨️ 快捷键说明

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