00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __itkAnchorUtilities_h
00019 #define __itkAnchorUtilities_h
00020
00021 #include <list>
00022
00023 #include "itkSharedMorphologyUtilities.h"
00024
00025 namespace itk {
00026
00032 #if defined(_MSC_VER) && _MSC_VER >= 1300
00033 #if 0
00034
00035 template <class TImage, class TBres, class TLine>
00036 int FillLineBuffer(typename TImage::ConstPointer input,
00037 const typename TImage::IndexType StartIndex,
00038 const TLine line,
00039 const float tol,
00040 const typename TBres::OffsetArray LineOffsets,
00041 const typename TImage::RegionType AllImage,
00042 typename TImage::PixelType * inbuffer,
00043 unsigned &start,
00044 unsigned &end);
00045 #endif
00046
00047 template <class TImage, class TBres, class TLine>
00048 int ComputeStartEnd(const typename TImage::IndexType StartIndex,
00049 const TLine line,
00050 const float tol,
00051 const typename TBres::OffsetArray LineOffsets,
00052 const typename TImage::RegionType AllImage,
00053 unsigned &start,
00054 unsigned &end);
00055
00056 template <class TImage, class TBres, class TAnchor, class TLine>
00057 void DoAnchorFace(const TImage * input,
00058 TImage * output,
00059 typename TImage::PixelType border,
00060 TLine line,
00061 TAnchor &AnchorLine,
00062 typename TBres::OffsetArray LineOffsets,
00063 typename TImage::PixelType * inbuffer,
00064 typename TImage::PixelType * outbuffer,
00065 const typename TImage::RegionType AllImage,
00066 const typename TImage::RegionType face);
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077 #endif
00078 }
00079
00080 #ifndef ITK_MANUAL_INSTANTIATION
00081 #include "itkAnchorUtilities.txx"
00082 #endif
00083
00084 #endif
00085