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