资源简介
这是HMM算法又一种写法,总有一种适合你
代码片段和文件信息
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING COPYING INSTALLING OR USING.
//
// By downloading copying installing or using the software you agree to this license.
// If you do not agree to this license do not download install
// copy or use the software.
//
//
// Intel License Agreement
// For Open Source Computer Vision Library
//
// Copyright (C) 2000 Intel Corporation all rights reserved.
// Third party copyrights are property of their respective owners.
//
// Redistribution and use in source and binary forms with or without modification
// are permitted provided that the following conditions are met:
//
// * Redistribution‘s of source code must retain the above copyright notice
// this list of conditions and the following disclaimer.
//
// * Redistribution‘s in binary form must reproduce the above copyright notice
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// * The name of Intel Corporation may not be used to endorse or promote products
// derived from this software without specific prior written permission.
//
// This software is provided by the copyright holders and contributors “as is“ and
// any express or implied warranties including but not limited to the implied
// warranties of merchantability and fitness for a particular purpose are disclaimed.
// In no event shall the Intel Corporation or contributors be liable for any direct
// indirect incidental special exemplary or consequential damages
// (including but not limited to procurement of substitute goods or services;
// loss of use data or profits; or business interruption) however caused
// and on any theory of liability whether in contract strict liability
// or tort (including negligence or otherwise) arising in any way out of
// the use of this software even if advised of the possibility of such damage.
//
//M*/// ContEHMM.cpp: implementation of the CContEHMM class.
//
//////////////////////////////////////////////////////////////////////
#include “stdafx.h“
#include “HMMDemo.h“
#include “ContEHMM.h“
#include
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CContEHMM::CContEHMM()
{
m_hmm = NULL;
m_vectSize = 0;
}
CContEHMM::~CContEHMM()
{
if (m_hmm) cvRelease2DHMM( &m_hmm );
m_vectSize = 0;
}
bool CContEHMM::CreateHMM( int* num_states int* num_mix int vect_size )
{
if (m_hmm) cvRelease2DHMM( &m_hmm );
m_hmm = 0;
m_hmm = cvCreate2DHMM( num_states num_mix vect_size );
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 9920 2001-03-26 12:21 HMMDemo\ContEHMM.cpp
文件 3074 2001-03-26 12:21 HMMDemo\ContEHMM.h
文件 50402 2002-11-18 19:32 HMMDemo\Faceba
文件 8178 2001-11-05 22:08 HMMDemo\Faceba
文件 19333 2001-11-05 22:08 HMMDemo\HMMDemo.cpp
文件 6054 2004-08-20 14:48 HMMDemo\HMMDemo.dsp
文件 539 2008-08-07 10:52 HMMDemo\HMMDemo.dsw
文件 3870 2001-03-26 12:21 HMMDemo\HMMDemo.h
文件 91136 2008-08-07 11:11 HMMDemo\HMMDemo.ncb
文件 54784 2008-08-07 11:11 HMMDemo\HMMDemo.opt
文件 18858 2001-03-26 12:21 HMMDemo\HMMDemo.rc
文件 9396 2001-11-05 22:08 HMMDemo\HMMDemoDoc.cpp
文件 3803 2001-11-05 22:08 HMMDemo\HMMDemoDoc.h
文件 6714 2002-11-26 16:45 HMMDemo\HMMDemoView.cpp
文件 4323 2001-11-05 22:08 HMMDemo\HMMDemoView.h
文件 3153 2001-03-26 12:21 HMMDemo\HMMParams.cpp
文件 1338 2001-03-26 12:21 HMMDemo\HMMParams.h
文件 10912 2001-11-05 22:08 HMMDemo\Imageba
文件 4598 2001-11-05 22:08 HMMDemo\Imageba
文件 5421 2001-03-26 12:21 HMMDemo\InfoDialogs.cpp
文件 4578 2001-03-26 12:21 HMMDemo\InfoDialogs.h
文件 17492 2001-11-05 22:08 HMMDemo\MainFrm.cpp
文件 5453 2001-11-05 22:08 HMMDemo\MainFrm.h
文件 1349 2001-03-26 12:21 HMMDemo\MiscParams.cpp
文件 1333 2001-03-26 12:21 HMMDemo\MiscParams.h
文件 25302 2001-11-02 22:45 HMMDemo\multiprocdiv.h
文件 1078 2001-03-26 12:21 HMMDemo\res\HMMDemo.ico
文件 399 2001-03-26 12:21 HMMDemo\res\HMMDemo.rc2
文件 1078 2001-03-26 12:21 HMMDemo\res\HMMDemoDoc.ico
..A.SH. 6144 2008-08-06 16:24 HMMDemo\res\Thumbs.db
............此处省略15个文件信息
- 上一篇:基于DS18B20的多路温度监测系统设计.pdf
- 下一篇:HMM算法第五种实现代码
评论
共有 条评论