FCM算法C++代码实现,Fuzzy-C-Means算法C++实现图像聚类,用opencv读取图片
#include#include"cv.h"#include#include#include#include"opencv2\highgui.hpp"#include"opencv2\imgproc.hpp"#includeusingnamespacestd;usingnamespacecv;double*imgFuzzyCmeans(Matimg){intlength=img.rows;intw