18#ifndef itkSharedMorphologyUtilities_h
19#define itkSharedMorphologyUtilities_h
26template <
typename TRegion,
typename TLine>
28NeedToDoFace(
const TRegion AllImage,
const TRegion face,
const TLine line);
30template <
typename TImage,
typename TBres,
typename TLine>
35 const typename TBres::OffsetArray LineOffsets,
40template <
typename TImage,
typename TBres,
typename TLine>
46 const typename TBres::OffsetArray LineOffsets,
48 std::vector<typename TImage::PixelType> & inbuffer,
52template <
typename TImage,
typename TBres>
56 const typename TBres::OffsetArray LineOffsets,
57 std::vector<typename TImage::PixelType> & outbuffer,
58 const unsigned int start,
59 const unsigned int end);
67template <
typename TInputImage,
typename TLine>
73template <
typename TLine>
79#ifndef ITK_MANUAL_INSTANTIATION
80# include "itkSharedMorphologyUtilities.hxx"
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
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)
int ComputeStartEnd(const typename TImage::IndexType StartIndex, const TLine line, const float tol, const typename TBres::OffsetArray LineOffsets, const typename TImage::RegionType AllImage, unsigned int &start, unsigned int &end)
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 int start, const unsigned int end)
unsigned int GetLinePixels(const TLine line)
TInputImage::RegionType MakeEnlargedFace(const TInputImage *input, const typename TInputImage::RegionType AllImage, const TLine line)
bool NeedToDoFace(const TRegion AllImage, const TRegion face, const TLine line)