Road Extraction from Image using SVM?

8 ビュー (過去 30 日間)
rizwan
rizwan 2013 年 6 月 14 日
コメント済み: ROSE MARY KATIKALA 2017 年 3 月 20 日
Can any one help me to write code for road extraction from image using Support vector machine?
Any Help would be appreciated...
Thanks
  8 件のコメント
rizwan
rizwan 2013 年 6 月 18 日
Thanks Jeff,
No got stuck in the svmtrain function, as matlab help suggests the first parameter is Training, how ?
As i have just used the imread() method to read the image and obtained the Array of image..
Yes Jeff you were write converting color image to grayscale prone to reduction of information about the image, i will continue with the color image i thought i would be good enough if have have just 0,1 values of pixels and make less effort in classification step but i was wrong
Thanks and appreciate Conversation and Learned Alot from your comments.
Jeff E
Jeff E 2013 年 6 月 18 日
has two examples of how to train an SVM using two different 2-D data sets. If you are keeping things simple, and just using the RGB values of individual pixels, you should be able to follow these pretty closely.
impixel should facilitate generating your two training data sets.
If you run into problems following the examples, post your code and error messages generated to get more specific help. If everything goes smoothly, then you can look at additional kinds of training data (neighboring pixel info, texture, etc.)

サインインしてコメントする。

回答 (3 件)

Image Analyst
Image Analyst 2013 年 6 月 14 日
Pick your algorithm from Section 15 or 22 here: http://iris.usc.edu/Vision-Notes/bibliography/contents.html
15 Active Vision, Camera Calibration, Mobile Robots, Navigation, Road Following
16 Motion -- Feature-Based, Long Range, Motion and Structure Estimates, Tracking, Surveillance, Activities
17 Optical Flow Field Computations and Use
18 Motion Analysis --Low-Level, Image Level Analysis, Mosaic Generation, Super Resolution, Shape from Motion
19 Implementations and Applications, Databases, QBIC, Video Analysis, Hardware and Software, Inspection
20 Medical Applications, CAT, MRI, Ultrasound, Heart Models, Brain Models
21 Face Recognition, Detection, Tracking, Gesture Recognition, Fingerprints, Biometrics
22 Cartography, Aerial Images, Remote Sensing, Buildings, Roads, Terrain, ATR
  2 件のコメント
Image Analyst
Image Analyst 2013 年 6 月 15 日
OK, so you say you've read the several dozen papers listed there like "Road Extraction Based on the Algorithms of MRF and Hybrid Model of SVM and FCM", plus even more, and none of them work. Those people spent months developing their algorithms so I doubt I'm going to be able to give you anything after 5 minutes of work. I don't even know what the two clusters you want to use with the SVM represent. Please tell me what your clusters represent. Plus I don't know what your plans are to handle the fact that roads change color and the ground beside the roads also changes color.
rizwan
rizwan 2013 年 6 月 18 日
Hi Image Analyst,
I said i have read the papers but none of any paper has given the implementation details just described the algorithm nothing else..i want some help from where i am able to implement Road Extraction using SVM, my research fellow told me about the svmlib and currently i m working on it.

サインインしてコメントする。


Walter Roberson
Walter Roberson 2013 年 6 月 15 日
Take the N x N window of pixels that has a given pixel in the center. Reshape that N x N window to be a vector. Now use that vector as one "sample". Do the same for each of the pixels in the image (after deciding how you want to handle the boundary conditions.)
If you are really lucky then a c-means or k-means clustering with two clusters will divide nicely into "road" versus "non-road". But I doubt you would be so lucky.
So now take a subset of the pixels and manually assign classes numbers to them, +1 for road, -1 for non-road. Train the subset with class number using your favorite 2-class technique (e.g., SVM). Now apply the learned metrics against a test class for which the answer is known but not input. Check the accuracy. If everything is okay, go ahead and apply to the entire image.
  1 件のコメント
ROSE MARY KATIKALA
ROSE MARY KATIKALA 2017 年 3 月 20 日
how can i assign +1 to roads and -1 to nonroads based on glcm texture feature calculation? can u please provide code. i have calculated entropy energy etc values and im comfused what to after that.

サインインしてコメントする。


shantanu shukla
shantanu shukla 2014 年 4 月 20 日
Hay rizwan i am also working on it, so if u have some information related with road extraction then plz share with me.it's abt my project

Community Treasure Hunt

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

Start Hunting!

Translated by