Finding tires on a car.
Ältere Kommentare anzeigen
I have been working on extracting information from a picture of a car. I am having trouble finding the tires on this car. I have them down to distinct circles in a BW binary image. I have tried several codes and methods online using hough transforms but with no success. When I try Tao's code: http://www.mathworks.com/matlabcentral/fileexchange/9168 I get an error. My grayscale image is not 2-D. Any suggestions on how to convert it? Thanks for your help in advance.
Antworten (3)
Walter Roberson
am 30 Mai 2011
0 Stimmen
Does ndims(YourImage) show 3 ? If so and it is a grayscale image, YourImage(:,:,1) would be appropriate for processing as a 2D grayscale image.
David Young
am 30 Mai 2011
0 Stimmen
Also see rgb2gray from the Image Processing Toolbox.
Note that you should not binarise your image before using Tao's code - it expects the original image, if necessary converted to grayscale.
2 Kommentare
Walter Roberson
am 30 Mai 2011
Though if the image is an RGB image that appears as grayscale, then just selecting the single plane will have the same effect as rgb2gray()
David Young
am 31 Mai 2011
Walter: yes, indeed.
Zach Chipman
am 22 Jun. 2011
0 Stimmen
Kategorien
Mehr zu Image Category Classification finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!