OPENCV
OPENCV
simplelf
这个作者很懒,什么都没留下…
展开
-
opencv提取骨架找端点,根据端点去掉毛刺
vector<vector<double>> FindSkeletonEndpoint(Mat src){ vector<double> xp; vector<double> yp; vector<vector<double>> fxyp; for (int i = 0; i < src.rows; i++) { for (int j = 0; j < src.cols; j++) { uch...原创 2021-08-04 16:22:44 · 5347 阅读 · 8 评论 -
vtk读取dicomMIP后opencv提取牙弓线
Mat srcMat4(srcMat3.size(), CV_8UC1); srcMat3.convertTo(srcMat4, CV_8UC1, 255, 0); vector<vector<Point>>contours; vector<Vec4i>hierarchy; findContours(srcMat4, contours, hierarchy, RETR_LIST, CHAIN_APPROX_SIMPLE); vect...原创 2021-07-22 16:10:01 · 900 阅读 · 2 评论