segment
所属分类:OpenCV
开发工具:C++
文件大小:19KB
下载次数:5
上传日期:2017-05-12 10:30:59
上 传 者:
slxxsuny
说明: 一个学生写的Graph Cuts算法用于分割的OpenCV实现
(Graph Cuts Segmentation in OpenCV)
文件列表:
segment\convolve.h (1940, 2006-12-28)
segment\COPYING (17987, 2006-12-28)
segment\disjoint-set.h (1857, 2006-12-28)
segment\filter.h (2973, 2006-12-28)
segment\image.h (2294, 2006-12-28)
segment\imconv.h (4926, 2006-12-28)
segment\imutil.h (1648, 2006-12-28)
segment\Makefile (338, 2005-02-23)
segment\misc.h (1731, 2006-12-28)
segment\pnmfile.h (5253, 2006-12-28)
segment\segment-graph.h (2191, 2006-12-28)
segment\segment-image.h (4304, 2007-03-21)
segment\segment.cpp (1460, 2006-12-28)
segment (0, 2007-03-21)
Implementation of the segmentation algorithm described in:
Efficient Graph-Based Image Segmentation
Pedro F. Felzenszwalb and Daniel P. Huttenlocher
International Journal of Computer Vision, 59(2) September 2004.
The program takes a color image (PPM format) and produces a segmentation
with a random color assigned to each region.
1) Type "make" to compile "segment".
2) Run "segment sigma k min input output".
The parameters are: (see the paper for details)
sigma: Used to smooth the input image before segmenting it.
k: Value for the threshold function.
min: Minimum component size enforced by post-processing.
input: Input image.
output: Output image.
Typical parameters are sigma = 0.5, k = 500, min = 20.
Larger values for k result in larger components in the result.
近期下载者:
相关文件:
收藏者: