Effacer les filtres
Effacer les filtres

morphological operations in matlab

2 vues (au cours des 30 derniers jours)
azan
azan le 18 Fév 2013
I am having an image uploaded at: http://tinypic.com/view.php?pic=1h2n8g&s=6 After doing some processing on it I found the following results uploaded at: http://tinypic.com/view.php?pic=1jqffa&s=6 and http://tinypic.com/view.php?pic=2l6sk1&s=6
The code used for processing is:
img = imread('newroad1.jpg');
hsv = rgb2hsv(img);
I1 = hsv(:,:,3);
figure,imshow(I1)
se = strel('square',5);
mgrad = imdilate(I1, se) - imerode(I1, se);
figure,imshow(mgrad)
I=im2bw(mgrad,0.1);
What morphological operations should I use so that I can get the above mentioned results.

Réponse acceptée

Image Analyst
Image Analyst le 18 Fév 2013
Those would be the 'skel' and 'spur' options of bwmorph().
  9 commentaires
Image Analyst
Image Analyst le 18 Fév 2013
Just do it a frame at a time. Of course there are fancier ways involving time projection where you predict positions based on past frames but that's a lot more advanced. Just start with a frame at a time.
azan
azan le 18 Fév 2013
ok sir I will try it and then will let you know if I will be having some problem.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by