How to cluster the feature vectors(which have 8 feature as image in cell ) using fuzzy c means clustering?How to map with the original image after clustering?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am using 'Madurai satellite image' as the dataset. My objective is to categorize the pixels as urban,water,rural,building etc..First, the input image is applied to laplacian pyramid filter and I had taken HH band for further processing. HH band is further applied to directional filter bank with level=3 to get 8 features as image.I don't know how to apply these feature vectors( which have 8 feature as image in a cell) to fuzzy c-means clustering? And how to map the clustered result with the original image to get the final result? Kindly help me sir.
댓글 수: 0
채택된 답변
KSSV
2018년 3월 9일
Read about kmeans ..this is very easy to use. Let I be your image and you want to cluster them into 8 groups.....check the below pseudo code.
I = rand(100) ;
k = 8 ; % groups
idx = kmeans(I(:),k) ;
figure
hold on
for i = 1:k
plot(I(idx==i),'.','color',rand(1,3))
end
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!