why do i got blank figure
古いコメントを表示
why do i got blank figure after the k means applied?
clear ;
clc;
I = imread('(5)PA5.jpg');
A = rgb2gray(I)
figure(1),imshow(A);title('ORG Image');
%
F = fspecial('gaussian');
G = imfilter(A,F);
figure(5),imshow(G);title('G Image');
figure,
imshow(G);
R = imrect(gca,[50 50 100 100]);
bw= imsegkmeans(G,2);
figure;
imshow(A),title('segmented');
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Images についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
