18 #ifndef itkSharedMorphologyUtilities_h
19 #define itkSharedMorphologyUtilities_h
26 template<
typename TRegion,
typename TLine >
31 template<
typename TImage,
typename TBres,
typename TLine >
35 const typename TBres::OffsetArray LineOffsets,
36 const typename TImage::RegionType AllImage,
40 template<
typename TImage,
typename TBres,
typename TLine >
45 const typename TBres::OffsetArray LineOffsets,
46 const typename TImage::RegionType AllImage,
47 std::vector<typename TImage::PixelType> & inbuffer,
51 template<
typename TImage,
typename TBres >
54 const typename TBres::OffsetArray LineOffsets,
55 std::vector<typename TImage::PixelType> & outbuffer,
65 template<
typename TInputImage,
typename TLine >
66 typename TInputImage::RegionType
68 const typename TInputImage::RegionType AllImage,
73 template<
typename TLine >
78 #ifndef ITK_MANUAL_INSTANTIATION
79 #include "itkSharedMorphologyUtilities.hxx"
bool NeedToDoFace(const TRegion AllImage, const TRegion face, const TLine line)
int ComputeStartEnd(const typename TImage::IndexType StartIndex, const TLine line, const float tol, const typename TBres::OffsetArray LineOffsets, const typename TImage::RegionType AllImage, unsigned &start, unsigned &end)
unsigned int GetLinePixels(const TLine line)
TInputImage::RegionType MakeEnlargedFace(const TInputImage *input, const typename TInputImage::RegionType AllImage, const TLine line)
void CopyLineToImage(const typename TImage::Pointer output, const typename TImage::IndexType StartIndex, const typename TBres::OffsetArray LineOffsets, std::vector< typename TImage::PixelType > &outbuffer, const unsigned start, const unsigned end)
int FillLineBuffer(typename TImage::ConstPointer input, const typename TImage::IndexType StartIndex, const TLine line, const float tol, const typename TBres::OffsetArray LineOffsets, const typename TImage::RegionType AllImage, std::vector< typename TImage::PixelType > &inbuffer, unsigned int &start, unsigned int &end)
ImageBaseType::IndexType IndexType