23 lines
641 B
C
23 lines
641 B
C
#ifndef _NLMEANS_H
|
|
#define _NLMEANS_H
|
|
|
|
|
|
/**********************************函数入口***********************************/
|
|
// NLM算法主函数
|
|
void NlMeansDenoiseCenter(unsigned char bitWitdth,
|
|
unsigned short *pSrc16,
|
|
unsigned char* pSrc8,
|
|
int nWidth, int nHeight);
|
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
//边缘扩展
|
|
void ImageExpandINT(unsigned short* pSrc,int nWidth,int nHeight,unsigned short *pDst,int NewWidth,int NewHeight);
|
|
|
|
|
|
//边缘切割
|
|
void ImageExpandInverseINT(unsigned short* pSrc,int nWidth,int nHeight,unsigned short *pDst,int NewWidth,int NewHeight);
|
|
|
|
|
|
#endif
|