Mamba C API reference

Version 2.0

MB_Api_hierarchical.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (c) <2014>, <Nicolas BEUCHER and ARMINES for the Centre de
4  * Morphologie Mathématique(CMM), common research center to ARMINES and MINES
5  * Paristech>
6  *
7  * Permission is hereby granted, free of charge, to any person
8  * obtaining a copy of this software and associated documentation files
9  * (the "Software"), to deal in the Software without restriction, including
10  * without limitation the rights to use, copy, modify, merge, publish,
11  * distribute, sublicense, and/or sell copies of the Software, and to permit
12  * persons to whom the Software is furnished to do so, subject to the following
13  * conditions: The above copyright notice and this permission notice shall be
14  * included in all copies or substantial portions of the Software.
15  *
16  * Except as contained in this notice, the names of the above copyright
17  * holders shall not be used in advertising or otherwise to promote the sale,
18  * use or other dealings in this Software without their prior written
19  * authorization.
20  *
21  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27  * THE SOFTWARE.
28  */
29 
30 #ifndef __MB_Api_hierarchical_H
31 #define __MB_Api_hierarchical_H
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
47 extern MB_API_ENTRY MB_errcode MB_API_CALL
48 MB_HierarBld(MB_Image *mask, MB_Image *srcdest, enum MB_grid_t grid);
59 extern MB_API_ENTRY MB_errcode MB_API_CALL
60 MB_HierarDualBld(MB_Image *mask, MB_Image *srcdest, enum MB_grid_t grid);
85 extern MB_API_ENTRY MB_errcode MB_API_CALL
86 MB_Watershed(MB_Image *src, MB_Image *marker, Uint32 max_level, enum MB_grid_t grid);
110 extern MB_API_ENTRY MB_errcode MB_API_CALL
111 MB_Basins(MB_Image *src, MB_Image *marker, Uint32 max_level, enum MB_grid_t grid);
112 
113 #ifdef __cplusplus
114 }
115 #endif
116 
117 #endif /* __MB_Api_H */
118 
uint32_t Uint32
Definition: MB_Common.h:93
MB_API_ENTRY MB_errcode MB_API_CALL MB_HierarDualBld(MB_Image *mask, MB_Image *srcdest, enum MB_grid_t grid)
Definition: MB_Common.h:116
MB_API_ENTRY MB_errcode MB_API_CALL MB_HierarBld(MB_Image *mask, MB_Image *srcdest, enum MB_grid_t grid)
MB_API_ENTRY MB_errcode MB_API_CALL MB_Watershed(MB_Image *src, MB_Image *marker, Uint32 max_level, enum MB_grid_t grid)
MB_API_ENTRY MB_errcode MB_API_CALL MB_Basins(MB_Image *src, MB_Image *marker, Uint32 max_level, enum MB_grid_t grid)
MB_errcode
Definition: MB_Error.h:37
MB_grid_t
Definition: MB_Common.h:138