Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Utilities
ITK
Code
Common
itkNeighborhoodAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Insight Segmentation & Registration Toolkit
4
Module: $RCSfile: itkNeighborhoodAlgorithm.h,v $
5
Language: C++
6
Date: $Date: 2009-02-06 20:53:11 $
7
Version: $Revision: 1.28 $
8
9
Copyright (c) Insight Software Consortium. All rights reserved.
10
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
15
16
=========================================================================*/
17
18
#ifndef __itkNeighborhoodAlgorithm_h
19
#define __itkNeighborhoodAlgorithm_h
20
21
#include <list>
22
#include "
itkImage.h
"
23
#include "
itkNeighborhood.h
"
24
#include "
itkNeighborhoodOperator.h
"
25
#include "
itkExceptionObject.h
"
26
#include "
itkNeighborhoodIterator.h
"
27
28
namespace
itk
29
{
30
31
namespace
NeighborhoodAlgorithm
32
{
33
35
template
<
class
TImage>
36
struct
ITK_EXPORT
ImageBoundaryFacesCalculator
37
{
38
typedef
typename
NeighborhoodIterator<TImage>::RadiusType
RadiusType
;
39
typedef
typename
TImage::RegionType
RegionType
;
40
typedef
typename
TImage::IndexType
IndexType
;
41
typedef
typename
IndexType::IndexValueType
IndexValueType
;
42
typedef
typename
TImage::SizeType
SizeType
;
43
typedef
typename
SizeType::SizeValueType
SizeValueType
;
44
typedef
std::list<RegionType>
FaceListType
;
45
itkStaticConstMacro(ImageDimension,
unsigned
int
, TImage::ImageDimension);
46
47
FaceListType
operator()(
const
TImage *,
RegionType
,
RadiusType
);
48
};
49
57
template
<
class
TImage>
58
struct
ITK_EXPORT
CalculateOutputWrapOffsetModifiers
59
{
60
typedef
Offset< ::itk::GetImageDimension<TImage>::ImageDimension
>
OffsetType
;
61
OffsetType
operator()(TImage *, TImage *)
const
;
62
};
63
64
}
// end namespace NeighborhoodAlgorithm
65
66
}
// end namespace itk
67
68
#ifndef ITK_MANUAL_INSTANTIATION
69
#include "
itkNeighborhoodAlgorithm.txx
"
70
#endif
71
72
#endif
Generated at Sat Feb 2 2013 23:55:54 for
Orfeo Toolbox
with
doxygen 1.8.1.1