Skip to content

Latest commit

 

History

History

geopdem

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

geopdem

Line networks extraction in digital images

About

We implement an improved method for semi-automatic extraction of line networks in digital images that is:

  • derived from morphological and hydrological concepts since it consists in minimum cost path estimation and flow simulation,
  • fully exploits the local contrast and shape of the target network, as well as its arborescent nature,
  • further incorporates local directional information about the structures in the image,

For that purpose, an appropriate anisotropic metric is derived from both the characteristic features of the network and the gradient information of the image. Following, a geodesic propagation based on this metric is combined with hydrological operators for overland flow simulation to extract the line network from known seeds.

Usage

The documentation of the algorithm, including a full description of the required/optional input/output parameters, is available through function pdem.m. The stepwise implementation of the algorithm is further described through function pdem_base.m.

To reproduce the experiments, you will need to:

  • install Matlab ad-hoc package imtools; e.g., add the paths of the install to your pathdef.m setup file;
  • run the function pdem.m (source) with desired arguments.

See some examples of generated outputs here.

Details about the actual implementation of the gradient tensor decomposition are given in the documentation of functions gstdecomp.m and gstfeature.m.

Description

The developed technique combines, likewise watershed based segmentation, concepts arising from mathematical morphology and hydrology [Soille94] and extends the approach presented in [SG07]. It performs the robust extraction of line networks by applying minimum cost path techniques [PPKC10, IT07] and using directional information about the local structures in the image [Kothe03] so as to look for the path which contains most line evidence. In addition, it fully exploits the fact that the hydrographic network has a tree-like structure (with a root) and the knowledge of arborescent networks [SG07].

A detailed description of the approach is available on this notebook. The generic algorihtm for extracting line networks from a single image can be summarised as follows:

  1. define the reference set as the set of outlets and seeds of the target network, e.g. pixels belonging most surely to it;
  2. compute the potential stretches as the image (aka geodesic mask) with enhanced linear features, e.g. using relevant spectral and spatial properties, introducing a new rank-based operator for qualifying the potential stretches;
  3. incorporate directional information about the local structures in the image through the computation of the eigenvalues of the Gradient Structure Tensor;
  4. generate the so-called pseudo Digital Elevation Model (DEM) by estimating the shortest paths originating from the seed and 'constrained' by the enhanced image using Fast Marching Method;
  5. calculate the local flow directions of the pseudo DEM and use its Contributing Drainage Areas (CDA) as a proxy to evidence the presence of a network, using an improved non-dispersive flow estimation technique;
  6. trim the resulting space filling network so as to obtain a network matching the target network.

References

  • Ikonen L. and Toivanen P. (2007): Distance and nearest neighbor transforms on gray-level surfaces, Pattern Recognition Letters, 28 (5):604-612, doi:10.1016/j.patrec.2006.10.010.
  • Kothe U. (2003): Integrated edge and junction detection with the boundary tensor, in Proc. ICCV, pp. 424-431, doi:10.1109/ICCV.2003.1238377.
  • Peyré G., Péchaud M., Keriven R., and Cohen L. (2010): Geodesic methods in computer vision and graphics, Foundations and Trends in Computer Graphics and Vision, 5(3/4):197-397, doi:10.1561/0600000029.
  • Soille, P. (1994): Generalized geodesy via geodesic time, Pattern Recognition Letters, 15(12):1235-1240, doi:10.1016/0167-8655(94)90113-9.
  • Soille P. and Grazzini J. (2007): Extraction of river networks from satellite images by combining mathematical morphology and hydrology, in Proc. CAIP, Lecture Notes in Computer Science, vol. 4673, pp. 636-644, doi:10.1007/978-3-540-74272-2_79.