OTB
9.0.0
Orfeo Toolbox
Modules
Remote
otbGRM
include
grmNeighborhood.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Generic Region Merging Library
4
Language: C++
5
author: Lassalle Pierre
6
contact: lassallepierre34@gmail.com
7
8
9
10
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved
11
12
13
This software is distributed WITHOUT ANY WARRANTY; without even
14
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
PURPOSE. See the above copyright notices for more information.
16
17
=========================================================================*/
18
#ifndef GRM_NEIGHBORHOOD_H
19
#define GRM_NEIGHBORHOOD_H
20
21
enum
CONNECTIVITY
{
FOUR
= 0,
EIGHT
};
22
23
namespace
grm
24
{
25
void
FOURNeighborhood
(
long
int
* neighborhood,
26
const
long
unsigned
int
id
,
27
const
unsigned
int
width,
28
const
unsigned
int
height);
29
30
void
EIGHTNeighborhood
(
long
int
* neighborhood,
31
const
long
unsigned
int
id
,
32
const
unsigned
int
width,
33
const
unsigned
int
height);
34
}
// end of namespace grm
35
36
#endif
grm
Definition:
grmBaatzSegmenter.h:22
EIGHT
@ EIGHT
Definition:
grmNeighborhood.h:21
CONNECTIVITY
CONNECTIVITY
Definition:
grmNeighborhood.h:21
grm::FOURNeighborhood
void FOURNeighborhood(long int *neighborhood, const long unsigned int id, const unsigned int width, const unsigned int height)
grm::EIGHTNeighborhood
void EIGHTNeighborhood(long int *neighborhood, const long unsigned int id, const unsigned int width, const unsigned int height)
FOUR
@ FOUR
Definition:
grmNeighborhood.h:21
Generated at Wed Feb 28 2024 15:21:24 for
OTB
with
1.8.17