source: proiecte/pmake3d/segment/README @ 77

Last change on this file since 77 was 77, checked in by (none), 14 years ago

Added parallelized code

File size: 782 bytes
Line 
1
2Implementation of the segmentation algorithm described in:
3
4Efficient Graph-Based Image Segmentation
5Pedro F. Felzenszwalb and Daniel P. Huttenlocher
6International Journal of Computer Vision, 59(2) September 2004.
7
8The program takes a color image (PPM format) and produces a segmentation
9with a random color assigned to each region.
10
111) Type "make" to compile "segment".
12
132) Run "segment sigma k min input output".
14
15The parameters are: (see the paper for details)
16
17sigma: Used to smooth the input image before segmenting it.
18k: Value for the threshold function.
19min: Minimum component size enforced by post-processing.
20input: Input image.
21output: Output image.
22
23Typical parameters are sigma = 0.5, k = 500, min = 20.
24Larger values for k result in larger components in the result.
25
Note: See TracBrowser for help on using the repository browser.