need help with Shape recognition and classification

3 Ansichten (letzte 30 Tage)
Samarth Bharadwaj DD
Samarth Bharadwaj DD am 31 Mär. 2017
Bearbeitet: KSSV am 29 Dez. 2017
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

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by