How we can detect road from satellite images using DOG filter?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Image Analyst
el 27 de Mayo de 2013
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 comentarios
Tousif Zaman
el 7 de Oct. de 2016
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
el 8 de Oct. de 2016
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.
Ver también
Categorías
Más información sobre Labeling, Segmentation, and Detection en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!