5 #include <itkVectorImage.h> 6 #include <itkImageFileReader.h> 29 std::string
GetFileName(
unsigned int i) {
return (i > m_FileNames.size() ?
"" : m_FileNames[i]);}
47 TInputImage *
GetOutput(
unsigned int i) {
if (m_NeedsUpdate) this->
Update();
return m_Images[i];}
51 unsigned int m_NbImages;
53 TInputIndexType m_NbBlocks;
54 TInputIndexType m_Block;
55 TInputIndexType m_Margin;
57 TInputRegionType m_GlobalRegionOfInterest;
58 TInputRegionType m_BlockRegion, m_BlockRegionWithMargin;
60 std::vector <TInputPointer> m_Images;
61 std::vector <std::string> m_FileNames;
62 MaskImagePointer m_MaskImage, m_SmallMask, m_SmallMaskWithMargin;
void SetUniqueFileName(std::string &inputFileName)
itk::ImageFileReader< TInputImage > InputReaderType
TInputRegionType GetBlockRegionInsideMargin()
unsigned int GetNbImages()
MaskImageType * GetSmallMaskWithMargin()
TInputImage::RegionType TInputRegionType
void SetFileNames(std::string &inputFileList)
void SetComputationMask(MaskImageType::Pointer &maskIm)
void SetBlockMargin(TInputIndexType &bMargin)
MaskImageType::Pointer MaskImagePointer
void SetBlockIndex(TInputIndexType &bIndex)
itk::Image< unsigned char, 3 > MaskImageType
MaskImageType * GetSmallMask()
void SetNumberOfBlocks(TInputIndexType &bNumBlocks)
TInputImage * GetOutput(unsigned int i)
TInputRegionType GetSpecificBlockRegion(TInputIndexType &block)
InputReaderType::Pointer InputReaderPointer
TInputRegionType GetBlockRegion()
std::string GetFileName(unsigned int i)
bool EmptyMask(TInputIndexType &bIndex)
TInputImage::Pointer TInputPointer
TInputRegionType GetBlockRegionWithMargin()
TInputImage::IndexType TInputIndexType