readme.txt

来自「this is image segmentation code」· 文本 代码 · 共 36 行

TXT
36
字号
*** ** 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 + =
减小字号Ctrl + -
显示快捷键?