필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how do i dislay output clustering ?

조회 수: 1 (최근 30일)
Tomas
Tomas 2014년 4월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello, i have matlab ocde
I = imread('obraz1.png'); %% input image
r = I(:,:,1);
g = I(:,:,2);
b = I(:,:,3);
H = g(:);%%green channel
[m n]=size(H)
P = [];
for i=1:m
for j=1:n
if H(i,j)<255
P = [P ; i j];
end
end
end
size(P)
MON=P;
[IDX,C]=kmeans(MON,3,'emptyaction','singleton')
How do i dislay clusters in image ?
Thanks for you help

답변 (1개)

Image Analyst
Image Analyst 2014년 4월 20일
The usual way is with scatter(). Though from your other post I'd say you're headed down the wrong path if you do that.

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by