ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkVanHerkGilWermanUtilities.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 #ifndef __itkVanHerkGilWermanUtilities_h
00019 #define __itkVanHerkGilWermanUtilities_h
00020 
00021 #include <list>
00022 
00023 #include "itkSharedMorphologyUtilities.h"
00024 
00025 namespace itk
00026 {
00034 template< class PixelType, class TFunction >
00035 void FillReverseExt(std::vector<PixelType> & pixbuffer,
00036                     std::vector<PixelType> & rExtBuffer,
00037                     const unsigned int KernLen, unsigned len);
00038 
00039 template< class PixelType, class TFunction >
00040 void FillForwardExt(std::vector<PixelType> & pixbuffer,
00041                     std::vector<PixelType> & fExtBuffer,
00042                     const unsigned int KernLen, unsigned len);
00043 
00044 template< class TImage, class TBres, class TFunction, class TLine >
00045 void DoFace(typename TImage::ConstPointer input,
00046             typename TImage::Pointer output,
00047             typename TImage::PixelType border,
00048             TLine line,
00049             const typename TBres::OffsetArray LineOffsets,
00050             const unsigned int KernLen,
00051             std::vector<typename TImage::PixelType> & pixbuffer,
00052             std::vector<typename TImage::PixelType> & fExtBuffer,
00053             std::vector<typename TImage::PixelType> & rExtBuffer,
00054             const typename TImage::RegionType AllImage,
00055             const typename TImage::RegionType face);
00056 } // namespace itk
00057 
00058 #ifndef ITK_MANUAL_INSTANTIATION
00059 #include "itkVanHerkGilWermanUtilities.hxx"
00060 #endif
00061 
00062 #endif
00063