Location:
Search - libgsl.a
Search list
Description: 在VC++6.0 已经openCV环境下的一维OTSU代码,实现图像二值化-// OTSU.h: interface for the COTSU class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_OTSU_H__33C2086A_C181_490B_946D_837B4C7FB914__INCLUDED_)
#define AFX_OTSU_H__33C2086A_C181_490B_946D_837B4C7FB914__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//---OpenCV Lib file-----------
#pragma comment (lib,"cv")
#pragma comment (lib,"highgui")
#pragma comment (lib, "cxcore")
//---gsl Lib file-----------
//#pragma comment (lib, "libgsl.a")
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
class COTSU
{
public:
IplImage* Binarize( IplImage* pImg, int nThreshold )
int Threshold()
void CalculateThresh( double* pHist, double dMean )
void GetThreshold( IplImage* pImg, CRect Rect )
COTSU()
virtual ~COTSU()
protected:
bool m_bDone
int m_nThreshold
}
#endif // !defined(AFX_OTSU_H__33C2086A_C181_490B_946D_837B4C7FB914__INCLUDED_)
Platform: |
Size: 2048 |
Author: shaohu |
Hits:
Description: GSL的库文件,在安装配置GSL时候需要使用。另外有一个文件libgslcblas.zip配合使用-GSL library file in the installation configuration GSL when needed. In addition there is a file with the use libgslcblas.zip
Platform: |
Size: 107520 |
Author: 李冬冬 |
Hits: