how to replace the pixel value of image with the cluster center value in the K-means clustering
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi all,
I want to do image segmentation by replacing the pixel value of original image with the value of cluster center in the K-means clustering.
I use the the kmean.m from the below link: http://www.mathworks.com/matlabcentral/fileexchange/8379-kmeans-image-segmentation/content/kmeans.m
function [mu,mask]=kmeans(ima,k)
All of I want is applying the 'mu' value in to 'mask'.
Thanks
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!