📄 readme.txt
字号:
*** ** Assumes that the image is in PPM format***The code is written partly in C and partly in Matlab. The C code containsthe graph cut algorithm provided by Vladimir Kolmogorov (plus a small wrapperover it to perform segmentation). The executable 'segment' is the graph cut algorithm. The graph cut algorithm's code is in the directory "forward_star"(wrapper is called Segment.cpp).In Matlab:The usage is as follows : SegmentVideo(list_of_files) wherelist_of_files : file containing the names of all the images that need to besegmented, one filename per line. The function for the pushbuttons is as follows.B.Box : Draw the bounding box surrounding the rectangle defined by the twopoints which are selected by the user by clicking on the left image.Object: Marks the rectangle defined by the two points selected by the user asobject seed pixels.Background: Marks the rectangle defined by the two points selected by the useras background seed pixels.Segment: Segments 10 frames at a time i.e. the current frame and 9 previousframes (or how many ever are available in case the current frame numberis less than 10) using the seed pixels given by the user.Reset: Removes all the rectangles marked by the user as background/object.Remove: Removes all the rectangles which contain the two points selected bythe user by clicking on the left image.The various parameters should be easy to find in 'forward_star/Segment.cpp'.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -