Blame view

include/grmNeighborhood.h 1018 Bytes
84788f22   Pierre Lassalle   Add the GRM Remot...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*=========================================================================

  Program: Generic Region Merging Library
  Language: C++
  author: Lassalle Pierre
  contact: lassallepierre34@gmail.com



  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved


     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notices for more information.

=========================================================================*/
d826acdd   Pierre Lassalle   Header fixes.
18
19
#ifndef GRM_NEIGHBORHOOD_H
#define GRM_NEIGHBORHOOD_H
84788f22   Pierre Lassalle   Add the GRM Remot...
20

ea78cfb9   raffaele.gaetano   FIX: Changed long...
21
22
enum CONNECTIVITY{FOUR = 0, EIGHT};

a57529d7   raffaele.gaetano   FIX: platform che...
23
24
25
namespace grm
{
	void FOURNeighborhood(long int * neighborhood,
686636ec   Rémi Cresson (IRSTEA)   FIX: change Neigh...
26
						  const long unsigned int id,
a57529d7   raffaele.gaetano   FIX: platform che...
27
28
						  const unsigned int width,
						  const unsigned int height);
84788f22   Pierre Lassalle   Add the GRM Remot...
29
30
31
32
	
	void EIGHTNeighborhood(long int * neighborhood,
						   const long unsigned int id,
						  const unsigned int width,
a57529d7   raffaele.gaetano   FIX: platform che...
33
						  const unsigned int height);
ea78cfb9   raffaele.gaetano   FIX: Changed long...
34
} // end of namespace grm
84788f22   Pierre Lassalle   Add the GRM Remot...
35
36

#endif
a57529d7   raffaele.gaetano   FIX: platform che...

ea78cfb9   raffaele.gaetano   FIX: Changed long...

84788f22   Pierre Lassalle   Add the GRM Remot...