clust.h
来自「高斯混合模型的C语言实现」· C头文件 代码 · 共 58 行
H
58 行
/*
* All questions regarding the software should be addressed to
*
* Prof. Charles A. Bouman
* Purdue University
* School of Electrical and Computer Engineering
* 1285 Electrical Engineering Building
* West Lafayette, IN 47907-1285
* USA
* +1 765 494 0340
* +1 765 494 3358 (fax)
* email: bouman@ecn.purdue.edu
* http://www.ece.purdue.edu/~bouman
*
* Copyright (c) 1995 The Board of Trustees of Purdue University.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is
* hereby granted, provided that the above copyright notice and the following
* two paragraphs appear in all copies of this software.
*
* IN NO EVENT SHALL PURDUE UNIVERSITY BE LIABLE TO ANY PARTY FOR DIRECT,
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
* USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF PURDUE UNIVERSITY HAS
* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* PURDUE UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
* PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
* AND PURDUE UNIVERSITY HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT,
* UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*/
/************************************************************************
* Modified for the purpose of image and video segmentation
*
* Dr. Liu Zhi
* School of Communication and Information Engineering
* Shanghai University, 200072
* P.R.China
*
************************************************************************/
#ifndef CLUST_H
#define CLUST_H
#include "clust_defs.h"
#include "alloc_util.h"
#include "clust_io.h"
#include "clust_util.h"
#include "subcluster.h"
double AverageVariance(struct SigSet::ClassSig *Sig, int nbands);
int GMM_Estimate(struct SigSet* S, double* sample_vector, int num_of_samples, int vector_dimension, int nclasses, int init_num_of_subclasses, int desired_num_of_subclasses, int is_cov_diag);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?