clustering image, grayscale image
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, I have for example image
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158700/image.bmp)
I want convert to grayscale image, and then use Kmeans method.
Does anyone help ?
Thanks.
댓글 수: 0
답변 (2개)
Image Analyst
2014년 3월 15일
Use rgb2gray() from the Image Processing Toolbox. Then kmeans() from the Statistical Toolbox. Here's a demo: http://www.mathworks.com/products/demos/image/color_seg_k/ipexhistology.html
댓글 수: 16
Image Analyst
2014년 3월 16일
Sorry I don't understand the language. I don't know what to click, and it started spewing out a bunch of stuff that I didn't know what it was into the command window. It went on for several minutes and I couldn't stop it, not even with control-C. I had to go into task manager to finally kill off MATLAB.
I suggest you try normal debugging operations to figure out what's going on.
Boni_Pl
2016년 11월 12일
Please anyone upload a matlab code for kmeans clustering of an ultrasound image.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!