ITK  5.4.0
Insight Toolkit
itkVanHerkGilWermanUtilities.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * https://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkVanHerkGilWermanUtilities_h
19 #define itkVanHerkGilWermanUtilities_h
20 
21 #include <list>
22 
24 
25 namespace itk
26 {
34 template <typename PixelType, typename TFunction>
35 void
36 FillReverseExt(std::vector<PixelType> & pixbuffer,
37  std::vector<PixelType> & rExtBuffer,
38  const unsigned int KernLen,
39  unsigned int len);
40 
41 template <typename PixelType, typename TFunction>
42 void
43 FillForwardExt(std::vector<PixelType> & pixbuffer,
44  std::vector<PixelType> & fExtBuffer,
45  const unsigned int KernLen,
46  unsigned int len);
47 
48 template <typename TImage, typename TBres, typename TFunction, typename TLine>
49 void
50 DoFace(typename TImage::ConstPointer input,
51  typename TImage::Pointer output,
52  typename TImage::PixelType border,
53  TLine line,
54  const typename TBres::OffsetArray LineOffsets,
55  const unsigned int KernLen,
56  std::vector<typename TImage::PixelType> & pixbuffer,
57  std::vector<typename TImage::PixelType> & fExtBuffer,
58  std::vector<typename TImage::PixelType> & rExtBuffer,
59  const typename TImage::RegionType AllImage,
60  const typename TImage::RegionType face);
61 } // namespace itk
62 
63 #ifndef ITK_MANUAL_INSTANTIATION
64 # include "itkVanHerkGilWermanUtilities.hxx"
65 #endif
66 
67 #endif
itk::FillForwardExt
void FillForwardExt(std::vector< PixelType > &pixbuffer, std::vector< PixelType > &fExtBuffer, const unsigned int KernLen, unsigned int len)
Pointer
SmartPointer< Self > Pointer
Definition: itkAddImageFilter.h:93
ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkAddImageFilter.h:94
itk::FillReverseExt
void FillReverseExt(std::vector< PixelType > &pixbuffer, std::vector< PixelType > &rExtBuffer, const unsigned int KernLen, unsigned int len)
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::DoFace
void DoFace(typename TImage::ConstPointer input, typename TImage::Pointer output, typename TImage::PixelType border, TLine line, const typename TBres::OffsetArray LineOffsets, const unsigned int KernLen, std::vector< typename TImage::PixelType > &pixbuffer, std::vector< typename TImage::PixelType > &fExtBuffer, std::vector< typename TImage::PixelType > &rExtBuffer, const typename TImage::RegionType AllImage, const typename TImage::RegionType face)
itkSharedMorphologyUtilities.h