ARAM  2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
contourClosing.hpp
Go to the documentation of this file.
1 /*
2 Copyright (c) 2014, Altran Research Medic@
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7 1. Redistributions of source code must retain the above copyright
8  notice, this list of conditions and the following disclaimer.
9 2. Redistributions in binary form must reproduce the above copyright
10  notice, this list of conditions and the following disclaimer in the
11  documentation and/or other materials provided with the distribution.
12 3. All advertising materials mentioning features or use of this software
13  must display the following acknowledgement:
14  This product includes software developed by Altran.
15 4. Neither the name of Altran nor the
16  names of its contributors may be used to endorse or promote products
17  derived from this software without specific prior written permission.
18 
19 THIS SOFTWARE IS PROVIDED BY ALTRAN RESEARCH MEDIC@ ''AS IS'' AND ANY
20 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 DISCLAIMED. IN NO EVENT SHALL ALTRAN RESEARCH MEDIC@ BE LIABLE FOR ANY
23 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
30 
31 
32 
33 
34 
45 #ifndef _CONTOURCLOSING_HPP_
46 #define _CONTOURCLOSING_HPP_
47 
48 
49 //ARAM include
50 #include <ARAM/export.hpp>
51 #include <ARAM/typedef.hpp>
54 
55 //openCV include
56 #include <opencv2/opencv.hpp>
57 
58 namespace aram
59 {
63  typedef enum
64  {
67  } CLOSURE_TYPE;
68 
69  void close(cv::Mat &toClose, CLOSURE_TYPE type);
70 };
71 
72 #endif
Definition: contourClosing.hpp:65
Contours closing using Milgram algorithm.
macro export definition
macro export definition
CLOSURE_TYPE
Definition: contourClosing.hpp:63
Definition: contourClosing.hpp:66
Contours closing by a trivial method.
void close(cv::Mat &toClose, CLOSURE_TYPE type)
Definition: contourClosing.cpp:8