zoukankan      html  css  js  c++  java
  • opencv RetrievalModes

    opencv  RetrievalModes

    enum RetrievalModes {
        /** retrieves only the extreme outer contours. It sets `hierarchy[i][2]=hierarchy[i][3]=-1` for
        all the contours. */
        RETR_EXTERNAL  = 0,
        /** retrieves all of the contours without establishing any hierarchical relationships. */
        RETR_LIST      = 1,
        /** retrieves all of the contours and organizes them into a two-level hierarchy. At the top
        level, there are external boundaries of the components. At the second level, there are
        boundaries of the holes. If there is another contour inside a hole of a connected component, it
        is still put at the top level. */
        RETR_CCOMP     = 2,
        /** retrieves all of the contours and reconstructs a full hierarchy of nested contours.*/
        RETR_TREE      = 3,
        RETR_FLOODFILL = 4 //!<
    };

    代码参考:opencv3.3opencvuildincludeopencv2imgproc.hpp

    ################################

    QQ 3087438119
  • 相关阅读:
    P1032 字串变换
    P3203 [HNOI2010]弹飞绵羊
    P3690 【模板】Link Cut Tree (动态树)
    P2147 [SDOI2008]洞穴勘测
    P3950 部落冲突
    Codeforces Round #469 Div. 2题解
    线段树
    SDOI2018退役记
    4.1模拟题
    无旋Treap
  • 原文地址:https://www.cnblogs.com/herd/p/15456803.html
Copyright © 2011-2022 走看看