OneCutWithSeeds

所属分类:OpenCV
开发工具:C++
文件大小:1906KB
下载次数:25
上传日期:2017-05-12 10:27:24
上 传 者slxxsuny
说明:  Grabcut的优化版本One Cut在OpenCV中的实现,处理较大图像时十分高效
(OneCut in OpenCV,efficient when segmenting large images)

文件列表:
OneCutWithSeeds_v1.03\block.h (7220, 2013-02-01)
OneCutWithSeeds_v1.03\frida_small.jpg (129945, 2013-02-01)
OneCutWithSeeds_v1.03\frida_small_bg.png (2481, 2015-07-15)
OneCutWithSeeds_v1.03\frida_small_fg.png (2427, 2015-07-15)
OneCutWithSeeds_v1.03\graph.cpp (2916, 2013-02-01)
OneCutWithSeeds_v1.03\graph.h (17233, 2013-02-01)
OneCutWithSeeds_v1.03\instances.inc (394, 2013-02-01)
OneCutWithSeeds_v1.03\maxflow.cpp (14887, 2013-02-01)
OneCutWithSeeds_v1.03\msvcp110.dll (661448, 2014-03-19)
OneCutWithSeeds_v1.03\msvcr110.dll (849360, 2014-03-19)
OneCutWithSeeds_v1.03\OneCut.exe (46080, 2015-09-21)
OneCutWithSeeds_v1.03\OneCut.vcxproj (9555, 2015-06-30)
OneCutWithSeeds_v1.03\OneCut_Main.cpp (27260, 2015-09-09)
OneCutWithSeeds_v1.03\opencv_core243.dll (2434048, 2012-11-02)
OneCutWithSeeds_v1.03\opencv_highgui243.dll (2357760, 2012-11-02)
OneCutWithSeeds_v1.03 (0, 2017-04-28)

//################################################################## // //Copyright (c) 2014, Lena Gorelick //All rights reserved. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // * Neither the name of the University of Western Ontarior nor the // names of its contributors may be used to endorse or promote products // derived from this software without specific prior written permission. // //THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND //ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED //WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE //DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY //DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES //(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; //LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND //ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT //(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS //SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // // //THIS SOFTWARE IMPLEMENTS THE OneCut ALGORITHM THAT USES SCRIBBLES AS HARD CONSTRAINTS. //PLEASE USE THE FOLLOWING CITATION: // //@inproceedings{iccv2013onecut, // title = {Grabcut in One Cut}, // author = {Tang, Meng and Gorelick, Lena and Veksler, Olga and Boykov, Yuri}, // booktitle={International Conference on Computer Vision}, // month = {December}, // year = {2013}} // //THIS SOFTWARE USES maxflow/min-cut CODE THAT WAS IMPLEMENTED BY VLADIMIR KOLMOGOROV, //THAT CAN BE DOWNLOADED FROM http://vision.csd.uwo.ca/code/. //PLEASE USE THE FOLLOWING CITATION: // //@ARTICLE{Boykov01anexperimental, // author = {Yuri Boykov and Vladimir Kolmogorov}, // title = {An Experimental Comparison of Min-Cut/Max-Flow Algorithms for Energy Minimization in Vision}, // journal = {IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE}, // year = {2001}, // volume = {26}, // pages = {359--374}} // // // //THIS SOFTWARE USES OpenCV 2.4.3 THAT CAN BE DOWNLOADED FROM http://opencv.org // // // // // // // // // //################################################################## // // USAGE INSTRUCTIONS // // In the command line type: // // OneCut [ ] // // Default values: numBinsPerChannel=16 colorSep_slope= 0.5 // // Example: OneCut frida_small.jpg *** 0.1 // or OneCut frida_small.jpg // // // Once the image is opened you can scribble with left and right // mouse buttons on the object and the background in the // "Scribble Image" window. Once the scribbles are given you can // segment the image.You can keep repeatedly adding scribbles and // segmenting until the result is satisfactory. // // Use the following Short Keys: // 'q' - quit // 's' - segment // 'r' - reset (removes all strokes and clears all results) // 'k' - keep the scribbles and the segmentation // 'l' - load the scribbles // '+' - increase brush stroke radius // '-' - decrease brush stroke radius // 'right mouse button drag' - draw blue scribble // 'left mouse button drag' - draw red scribble

近期下载者

相关文件


收藏者