Mamba C API reference

Version 2.0

MB_Api_3D.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_3D_H
31 #define __MB_Api_3D_H
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
60 extern MB_API_ENTRY MB_errcode MB_API_CALL
61 MB3D_Watershed(MB3D_Image *src, MB3D_Image *marker, Uint32 max_level, enum MB3D_grid_t grid);
85 extern MB_API_ENTRY MB_errcode MB_API_CALL
86 MB3D_Basins(MB3D_Image *src, MB3D_Image *marker, Uint32 max_level, enum MB3D_grid_t grid);
97 extern MB_API_ENTRY MB_errcode MB_API_CALL
98 MB3D_HierarBld(MB3D_Image *mask, MB3D_Image *srcdest, enum MB3D_grid_t grid);
109 extern MB_API_ENTRY MB_errcode MB_API_CALL
110 MB3D_HierarDualBld(MB3D_Image *mask, MB3D_Image *srcdest, enum MB3D_grid_t grid);
122 extern MB_API_ENTRY MB_errcode MB_API_CALL
123 MB3D_Label(MB3D_Image *src, MB3D_Image *dest,
124  Uint32 lblow, Uint32 lbhigh,
125  Uint32 *pNbobj,
126  enum MB3D_grid_t grid);
136 extern MB_API_ENTRY MB_errcode MB_API_CALL
137 MB3D_Distanceb(MB3D_Image *src, MB3D_Image *dest, enum MB3D_grid_t grid, enum MB_edgemode_t edge);
138 
139 #ifdef __cplusplus
140 }
141 #endif
142 
143 #endif /* __MB_Api_3D_H */
144 
MB_API_ENTRY MB_errcode MB_API_CALL MB3D_HierarBld(MB3D_Image *mask, MB3D_Image *srcdest, enum MB3D_grid_t grid)
MB_API_ENTRY MB_errcode MB_API_CALL MB3D_Watershed(MB3D_Image *src, MB3D_Image *marker, Uint32 max_level, enum MB3D_grid_t grid)
uint32_t Uint32
Definition: MB_Common.h:93
MB_API_ENTRY MB_errcode MB_API_CALL MB3D_HierarDualBld(MB3D_Image *mask, MB3D_Image *srcdest, enum MB3D_grid_t grid)
Definition: MB_Common.h:130
MB_edgemode_t
Definition: MB_Common.h:146
MB3D_grid_t
Definition: MB_Common.h:156
MB_API_ENTRY MB_errcode MB_API_CALL MB3D_Basins(MB3D_Image *src, MB3D_Image *marker, Uint32 max_level, enum MB3D_grid_t grid)
MB_API_ENTRY MB_errcode MB_API_CALL MB3D_Distanceb(MB3D_Image *src, MB3D_Image *dest, enum MB3D_grid_t grid, enum MB_edgemode_t edge)
MB_errcode
Definition: MB_Error.h:37
MB_API_ENTRY MB_errcode MB_API_CALL MB3D_Label(MB3D_Image *src, MB3D_Image *dest, Uint32 lblow, Uint32 lbhigh, Uint32 *pNbobj, enum MB3D_grid_t grid)