source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/Superpixels/SourceCode/segment/README @ 37

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

Added original make3d

File size: 1.0 KB
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
26
27Modification by Min
281/30:
29Modified segment-image-opt.h from original segment-image.h
30Mainly Modifying the segment_image() function
31
32Add segmentImgOpt.cpp including the matlab interface mexFunction
33Calling the segment_image() defined in segment-image-opt.h
34
Note: See TracBrowser for help on using the repository browser.