原创 工具類-圖像Kmeans聚類分割、K均值圖像分割

opencv做的,直接用即可,方便,用法看下圖: 使用方法: #include <iostream> #include "Kmeans.h" using namespace std; using namespace cv; int

原创 《代碼整潔之道》 第一章:整潔代碼

     原文地址:https://blog.csdn.net/qq754261595/article/details/104495812 1.2 糟糕的代碼      勒布朗(LeBlanc)法則:稍後等於永不(Later equals