資源簡介
基于局部模糊C均值聚類算法的圖像分割的Matlab源代碼
代碼片段和文件信息
#include?“mex.h“
#include?
#include?
double**?mallocdbl2(?unsigned?long?i?unsigned?long?j?){
double?**m;
unsigned?long?ii;
m?=?(double**)malloc(?(unsigned?long)i*sizeof(double*)?);
for(?ii=0;?ii m[ii]?=?(double*)malloc(?(unsigned?long)j*sizeof(double)?);
return?m;
}
double***?mallocdbl3(unsigned?long?c?unsigned?long?i?unsigned?long?j){
double?***m;
unsigned?long?cc?ii;
m?=?(double***)malloc(?(unsigned?long)c*sizeof(double**)?);
for(cc=0;?cc m[cc]?=?(double**)malloc(?(unsigned?long)i*sizeof(double*)?);
for(?ii=0;?ii m[cc][ii]?=?(double*)malloc(?(unsigned?long)j*sizeof(double)?);
}
return?m;
}
void?mfreedbl2(?double?**m?unsigned?long?i?){
unsigned?long?ii;
for(?ii=0;?ii
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????4668??2014-03-25?14:28??程序\FLICM.c
?????文件???????2166??2014-03-25?14:28??程序\FLICM_clustering.m
?????文件????????526??2014-03-25?14:28??程序\test_FLICM.m
?????目錄??????????0??2014-03-26?20:06??程序
-----------?---------??----------?-----??----
?????????????????7360????????????????????4
評論
共有 條評論