Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkVanHerkGilWermanUtilities.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkVanHerkGilWermanUtilities.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-10-20 16:32:08 $
00007   Version:   $Revision: 1.3 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 
00018 #ifndef __itkVanHerkGilWermanUtilities_h
00019 #define __itkVanHerkGilWermanUtilities_h
00020 
00021 #include <list>
00022 
00023 #include "itkSharedMorphologyUtilities.h"
00024 
00025 namespace itk {
00026 
00033 #if defined(_MSC_VER) && _MSC_VER >= 1300
00034 #if 0
00035 // version with no user access to border
00036 template <class TImage, class TBres, class TLine, class TFunction>
00037 int FillLineBuffer(typename TImage::ConstPointer input,
00038                    const typename TImage::IndexType StartIndex,
00039                    typename TImage::PixelType border,
00040                    const TLine line,  // unit vector
00041                    const float tol,
00042                    const typename TBres::OffsetArray LineOffsets,
00043                    const typename TImage::RegionType AllImage,
00044                    const unsigned int KernLen,
00045                    typename TImage::PixelType * pixbuffer,
00046                    typename TImage::PixelType * fExtBuffer,
00047                    unsigned &start,
00048                    unsigned &end);
00049 #else
00050 template <class PixelType, class TFunction>
00051 void FillReverseExt(PixelType *pixbuffer, PixelType *rExtBuffer, 
00052                     const unsigned int KernLen, unsigned len);
00054 
00055 template <class PixelType, class TFunction>
00056 void FillForwardExt(PixelType *pixbuffer, PixelType *fExtBuffer, 
00057                     const unsigned int KernLen, unsigned len);
00058 #endif
00059 
00060 template <class TImage, class TBres, class TFunction, class TLine>
00061 void DoFace(typename TImage::ConstPointer input,
00062             typename TImage::Pointer output,
00063             typename TImage::PixelType border,
00064             TLine line,
00065             const typename TBres::OffsetArray LineOffsets,
00066             const unsigned int KernLen,
00067             typename TImage::PixelType * pixbuffer,
00068             typename TImage::PixelType * fExtBuffer,
00069             typename TImage::PixelType * rExtBuffer,
00070             const typename TImage::RegionType AllImage, 
00071             const typename TImage::RegionType face);
00072 
00073 #endif
00074 } // namespace itk
00075 
00076 #ifndef ITK_MANUAL_INSTANTIATION
00077 #include "itkVanHerkGilWermanUtilities.txx"
00078 #endif
00079 
00080 #endif
00081 

Generated at Sat Feb 28 13:43:16 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000