Pink 0.9

volumelignes.c File Reference

enhances linear structures in a grayscale image More...


Detailed Description

enhances linear structures in a grayscale image

Usage: volumelignes skel.pgm orig.pgm connex radius out.pgm

Description: Enhances linear structures in a grayscale image. The algorithm is the following:

Let F be the original image ("orig.pgm")
Let O be the final result ("out.pgm")
Let r be the value of parameter "radius"
Compute k iterations of homotopic thinning, result S ("skel.pgm")
For each point x of S which is separating
  O(x) = volume((F-S).Br(x)) 
  where Br(x) is the disc centered on x with radius r
EndFor

References:
"Topological operators for the detection of curvilinar structures in grayscale images", in preparation, 2003.

Types supported: byte 2d

Category: topogray

Author:
Michel Couprie