19#ifndef itkTileMergeImageFilter_h
20#define itkTileMergeImageFilter_h
46template <
typename TImageType,
51 Image<typename NumericTraits<typename TImageType::PixelType>::ValueType, TImageType::ImageDimension>,
52 typename TInterpolator::CoordinateType>
60 typename TInterpolator::CoordinateType>;
139 m_Tiles[linearIndex] =
nullptr;
146 m_Tiles[linearIndex] =
nullptr;
176 itkGetMacro(CropToFill,
bool);
177 itkBooleanMacro(CropToFill);
198 return ImageType::New();
212 std::vector<ContributingTiles> & regionContributors,
214 size_t oldRegionIndex,
248#ifndef ITK_MANUAL_INSTANTIATION
249# include "itkTileMergeImageFilter.hxx"
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Linearly interpolate an image at specified positions.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual void SetReleaseDataBeforeUpdateFlag(bool _arg)
virtual void SetReleaseDataFlag(bool val)
Implements transparent reference counting.
typename Superclass::PCMType::TransformType TransformType
SizeValueType DistanceFromEdge(ImageIndexType index, RegionType region)
void SetInputTile(TileIndexType position, const std::string &imageFilename)
ImageConstPointer GetImage(TileIndexType nDIndex, RegionType wantedRegion)
void SetTileTransform(TileIndexType position, const TransformType *transform)
typename Superclass::RegionType RegionType
Superclass::ConstPointer m_Montage
typename TransformType::Pointer TransformPointer
void ResampleSingleRegion(SizeValueType regionIndex)
std::vector< ContinuousIndexType > m_InputsContinuousIndices
typename Superclass::OffsetType OffsetType
typename ImageType::ConstPointer ImageConstPointer
typename Superclass::ImageIndexType ImageIndexType
const ImageType * GetOutput() const
std::vector< ContributingTiles > m_RegionContributors
SmartPointer< const Self > ConstPointer
static constexpr unsigned int ImageDimension
SmartPointer< Self > Pointer
TileMontage< Image< typename NumericTraits< typename TImageType::PixelType >::ValueType, TImageType::ImageDimension >, typename TInterpolator::CoordinateType > Superclass
std::vector< ImagePointer > m_Tiles
void SetReleaseDataFlag(bool flag) override
std::vector< RegionType > m_InputMappings
typename TImageType::PixelType PixelType
void SplitRegionAndCopyContributions(std::vector< RegionType > ®ions, std::vector< ContributingTiles > ®ionContributors, RegionType newRegion, vcl_size_t oldRegionIndex, SizeValueType tileIndex)
void SetReleaseDataBeforeUpdateFlag(const bool flag) override
typename Superclass::PointType PointType
DataObject::Pointer MakeOutput(typename Superclass::DataObjectPointerArraySizeType) override
~TileMergeImageFilter() override=default
void SetMontageSize(SizeType montageSize)
void SetMontage(const Superclass *montage)
typename ImageType::Pointer ImagePointer
typename Superclass::TileIndexType TileIndexType
void GenerateOutputInformation() override
typename Superclass::SizeType SizeType
std::set< SizeValueType > ContributingTiles
void SetInputTile(TileIndexType position, ImageType *image)
typename Superclass::SpacingType SpacingType
void SetInputTile(SizeValueType linearIndex, const std::string &imageFilename)
std::vector< TransformConstPointer > m_Transforms
ImageType * GetOutput(unsigned int idx)
RegionType ConstructRegion(ContinuousIndexType minIndex, ContinuousIndexType maxIndex)
typename Superclass::ContinuousIndexType ContinuousIndexType
TileMergeImageFilter Self
void PrintSelf(std::ostream &os, Indent indent) const override
void SetInputTile(SizeValueType linearIndex, ImageType *image)
std::vector< RegionType > m_Regions
void GenerateData() override
typename TransformType::ConstPointer TransformConstPointer
Size< ImageDimension > SizeType
void SetInputTile(SizeValueType linearIndex, ImageType *image)
DataObjectPointerArraySizeType nDIndexToLinearIndex(TileIndexType nDIndex) const
typename ImageType::RegionType RegionType
typename ImageType::OffsetType OffsetType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) override
ContinuousIndex< typename TInterpolator::CoordinateType, ImageDimension > ContinuousIndexType
typename ImageType::SpacingType SpacingType
typename ImageType::IndexType ImageIndexType
SmartPointer< const Self > ConstPointer
Size< ImageDimension > TileIndexType
typename PCMType::TransformType TransformType
typename ImageType::PointType PointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
#define itkSetMacro(name, type)