i am working on recognition of signboards .I removed background. Now i want to crop only the signboard within redcircle ..pls help me with code
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Samarth Bharadwaj DD
el 29 de Mzo. de 2017
Editada: Samarth Bharadwaj DD
el 29 de Mzo. de 2017
I used below code to separate background from signboard
I = imread('prj.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 want to crop only the signboard for feature extraction .pls provide code
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!