need help with Shape recognition and classification

조회 수: 4 (최근 30일)
Samarth Bharadwaj DD
Samarth Bharadwaj DD 2017년 3월 31일
편집: KSSV 2017년 12월 29일
i used this code to highlight only signboard .
figure
I = imread('prj9.jpg');
pic=I(1:size(I,1)/2,1:size(I,2)/2,:);
for mm = 1:size(pic,1)
for nn = 1:size(pic,2)
if pic(mm,nn,1) < 80 || pic(mm,nn,2) > 80 || pic(mm,nn,3) > 100
gsc = 0.3*pic(mm,nn,1) + 0.59*pic(mm,nn,2) + 0.11*pic(mm,nn,3);
pic(mm,nn,:) = [gsc gsc gsc];
end
end
end
imshow(pic)
Now i need to classify differnt shapes such as circle,triangle,hexagon for efficiency purpose pls help with code

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by