How we can detect road from satellite images using DOG filter?

조회 수: 8 (최근 30일)
neetha
neetha 2013년 5월 27일
댓글: Image Analyst 2016년 10월 8일
following code can't detect road accurately.so pls help..
fontSize = 10;
I = imread('ds5.jpg');
grayImage = rgb2gray(I);
% Get the dimensions of the image.
% numberOfColorBands should be = 1.
[rows columns numberOfColorBands] = size(grayImage);
% Display the original gray scale image.
subplot(2,2,1);
imshow(I);
title('Original Image', 'FontSize', fontSize);
subplot(2,2,2);
imshow(grayImage);
title('grayscale Image', 'FontSize', fontSize);
gaussian1 = fspecial('Gaussian', 21, 15);
gaussian2 = fspecial('Gaussian', 21, 20);
dog = gaussian1 - gaussian2;
dogFilterImage = conv2(double(grayImage), dog, 'same');
subplot(2,2,3);
imshow(dogFilterImage, []);
title('DOG Filtered Image', 'FontSize', fontSize);
bw =(dogFilterImage);
subplot(2,2,4);
imshow(bw);
  댓글 수: 3
Image Analyst
Image Analyst 2014년 4월 1일
The people in my link have the answers. Are their answers okay?
Sachin Fernandes
Sachin Fernandes 2016년 7월 19일
Did you manage to get this working?

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2013년 5월 27일
Either adjust your parameters, or use multiple spectral bands, or pick a successful algorithm published here:
22.2 Road Network Detection, Road Extraction Systems
22.2.1 Road Following, Road Tracking Systems, Connecting Fragments, Extracting Fragments
22.2.2 Road Network Model Integration, Updating, and Change Detection
22.2.3 Road Extraction in Radar, SAR, Lidar, Laser, Depth
  댓글 수: 2
Tousif Zaman
Tousif Zaman 2016년 10월 7일
Would you please help me to get an algorithm from here? I can only see the names of some papers here but no access to the algorithm or code.
Image Analyst
Image Analyst 2016년 10월 8일
I don't have them either. You have to buy them from the publisher. If you can't figure out how to do that, try ScienceDirect.com or similar sites. If you still can't figure out how to get the paper, then look at the author's web site. Sometimes they post it there. At least you could ask them. Anyway, I don't have them.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Labeling, Segmentation, and Detection에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by