template<typename TImageType, typename TPixelAccumulateType = typename NumericTraits<typename TImageType::PixelType>::AccumulateType, typename TInterpolator = LinearInterpolateImageFunction<TImageType, float>>
class itk::TileMergeImageFilter< TImageType, TPixelAccumulateType, TInterpolator >
Resamples an n-Dimensional mosaic of images into a single composite image.
CropToFill indicates whether the composite image will be cropped so it entirely consists of input tiles (no default background filling). If CropToFill is false, the composite image will have the extent to include all of the input tiles. The pixels not covered by any input tile will have the value specified by the Background member variable.
TPixelAccumulateType needs to allow bigger numbers when overlap regions are large. For example, char's default accumulation type is short, but int might be preferred for montages with large overlaps of input tiles.
- Author
- Dženan Zukić, dzena.nosp@m.n.zu.nosp@m.kic@k.nosp@m.itwa.nosp@m.re.co.nosp@m.m
Definition at line 49 of file itkTileMergeImageFilter.h.
|
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| |
| virtual void | CropToFillOff () |
| |
| virtual void | CropToFillOn () |
| |
| virtual PixelType | GetBackground () |
| |
| virtual bool | GetCropToFill () |
| |
| virtual const char * | GetNameOfClass () const |
| |
| ImageType * | GetOutput () |
| |
| const ImageType * | GetOutput () const |
| |
| ImageType * | GetOutput (unsigned int idx) |
| |
| virtual void | SetBackground (PixelType _arg) |
| |
| virtual void | SetCropToFill (bool _arg) |
| |
| void | SetInputTile (SizeValueType linearIndex, const std::string &imageFilename) |
| |
| void | SetInputTile (SizeValueType linearIndex, ImageType *image) |
| |
| void | SetInputTile (TileIndexType position, const std::string &imageFilename) |
| |
| void | SetInputTile (TileIndexType position, ImageType *image) |
| |
| void | SetMontage (const Superclass *montage) |
| |
| void | SetMontageSize (SizeType montageSize) |
| |
| void | SetReleaseDataBeforeUpdateFlag (const bool flag) override |
| |
| void | SetReleaseDataFlag (bool flag) override |
| |
| void | SetTileTransform (TileIndexType position, const TransformType *transform) |
| |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| |
| virtual float | GetAbsoluteThreshold () const |
| |
| virtual bool | GetCropToOverlap () const |
| |
| virtual SpacingType | GetForcedSpacing () const |
| |
| virtual SizeType | GetMontageSize () const |
| |
| virtual SizeType | GetObligatoryPadding () const |
| |
| virtual PointType | GetOriginAdjustment () const |
| |
| const TransformType * | GetOutputTransform (TileIndexType position) |
| |
| virtual PCMType::PaddingMethodEnum | GetPaddingMethod () const |
| |
| virtual PCMOptimizerType::PeakInterpolationMethodEnum | GetPeakInterpolationMethod () const |
| |
| virtual SizeValueType | GetPositionTolerance () const |
| |
| virtual float | GetRelativeThreshold () const |
| |
| virtual const TileReliabilities & | GetTileReliabilities () const |
| |
| float | GetTileReliability (DataObjectPointerArraySizeType linearIndex) const |
| |
| float | GetTileReliability (TileIndexType nDIndex) const |
| |
| virtual void | SetAbsoluteThreshold (float _arg) |
| |
| virtual void | SetCropToOverlap (bool _arg) |
| |
| virtual void | SetForcedSpacing (SpacingType _arg) |
| |
| void | SetInputTile (SizeValueType linearIndex, const std::string &imageFilename) |
| |
| void | SetInputTile (SizeValueType linearIndex, ImageType *image) |
| |
| void | SetInputTile (TileIndexType position, const std::string &imageFilename) |
| |
| void | SetInputTile (TileIndexType position, ImageType *image) |
| |
| void | SetMontageSize (SizeType montageSize) |
| |
| virtual void | SetObligatoryPadding (const SizeType pad) |
| |
| virtual void | SetOriginAdjustment (PointType _arg) |
| |
| virtual void | SetPaddingMethod (const typename PCMType::PaddingMethodEnum _arg) |
| |
| virtual void | SetPeakInterpolationMethod (const typename PCMOptimizerType::PeakInterpolationMethodEnum _arg) |
| |
| virtual void | SetPositionTolerance (SizeValueType _arg) |
| |
| virtual void | SetRelativeThreshold (float _arg) |
| |
| virtual void | AbortGenerateDataOff () |
| |
| virtual void | AbortGenerateDataOn () |
| |
| virtual void | EnlargeOutputRequestedRegion (DataObject *output) |
| |
| virtual const bool & | GetAbortGenerateData () const |
| |
| DataObjectPointerArray | GetIndexedInputs () |
| |
| DataObjectPointerArray | GetIndexedOutputs () |
| |
| NameArray | GetInputNames () const |
| |
| DataObjectPointerArray | GetInputs () |
| |
| MultiThreaderBase * | GetMultiThreader () const |
| |
| DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
| |
| DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
| |
| DataObjectPointerArraySizeType | GetNumberOfInputs () const |
| |
| DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
| |
| virtual DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
| |
| NameArray | GetOutputNames () const |
| |
| DataObjectPointerArray | GetOutputs () |
| |
| virtual float | GetProgress () const |
| |
| NameArray | GetRequiredInputNames () const |
| |
| bool | HasInput (const DataObjectIdentifierType &key) const |
| |
| bool | HasOutput (const DataObjectIdentifierType &key) const |
| |
| void | IncrementProgress (float increment) |
| |
| virtual void | PrepareOutputs () |
| |
| virtual void | PropagateRequestedRegion (DataObject *output) |
| |
| virtual void | ResetPipeline () |
| |
| virtual void | SetAbortGenerateData (bool _arg) |
| |
| void | SetMultiThreader (MultiThreaderBase *threader) |
| |
| virtual void | SetNumberOfWorkUnitsFromThreadRatio (ThreadIdType ratio) |
| |
| virtual void | Update () |
| |
| virtual void | UpdateLargestPossibleRegion () |
| |
| virtual void | UpdateOutputData (DataObject *output) |
| |
| virtual void | UpdateOutputInformation () |
| |
| void | UpdateProgress (float progress) |
| |
| virtual bool | GetReleaseDataFlag () const |
| |
| void | ReleaseDataFlagOn () |
| |
| void | ReleaseDataFlagOff () |
| |
| virtual const bool & | GetReleaseDataBeforeUpdateFlag () const |
| |
| virtual void | ReleaseDataBeforeUpdateFlagOn () |
| |
| virtual void | ReleaseDataBeforeUpdateFlagOff () |
| |
| virtual void | SetNumberOfWorkUnits (ThreadIdType numberOfWorkUnits) |
| |
| virtual ThreadIdType | GetNumberOfWorkUnits () const |
| |
| unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
| |
| unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
| |
| virtual void | DebugOff () const |
| |
| virtual void | DebugOn () const |
| |
| Command * | GetCommand (unsigned long tag) |
| |
| bool | GetDebug () const |
| |
| MetaDataDictionary & | GetMetaDataDictionary () |
| |
| const MetaDataDictionary & | GetMetaDataDictionary () const |
| |
| virtual ModifiedTimeType | GetMTime () const |
| |
| virtual const TimeStamp & | GetTimeStamp () const |
| |
| bool | HasObserver (const EventObject &event) const |
| |
| void | InvokeEvent (const EventObject &) |
| |
| void | InvokeEvent (const EventObject &) const |
| |
| virtual void | Modified () const |
| |
| void | Register () const override |
| |
| void | RemoveAllObservers () |
| |
| void | RemoveObserver (unsigned long tag) const |
| |
| void | SetDebug (bool debugFlag) const |
| |
| void | SetReferenceCount (int) override |
| |
| void | UnRegister () const noexcept override |
| |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| |
| void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
| |
| virtual void | SetObjectName (std::string _arg) |
| |
| virtual const std::string & | GetObjectName () const |
| |
| Pointer | Clone () const |
| |
| virtual void | Delete () |
| |
| virtual int | GetReferenceCount () const |
| |
| void | Print (std::ostream &os, Indent indent=0) const |
| |
|
| RegionType | ConstructRegion (ContinuousIndexType minIndex, ContinuousIndexType maxIndex) |
| |
| SizeValueType | DistanceFromEdge (ImageIndexType index, RegionType region) |
| |
| void | GenerateData () override |
| |
| void | GenerateOutputInformation () override |
| |
| ImageConstPointer | GetImage (TileIndexType nDIndex, RegionType wantedRegion) |
| |
| DataObject::Pointer | MakeOutput (typename Superclass::DataObjectPointerArraySizeType) override |
| |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| |
| void | ResampleSingleRegion (SizeValueType regionIndex) |
| |
| void | SplitRegionAndCopyContributions (std::vector< RegionType > ®ions, std::vector< ContributingTiles > ®ionContributors, RegionType newRegion, vcl_size_t oldRegionIndex, SizeValueType tileIndex) |
| |
| | TileMergeImageFilter () |
| |
| | ~TileMergeImageFilter () override=default |
| |
| void | GenerateData () override |
| |
| void | GenerateOutputInformation () override |
| |
| ImageType::Pointer | GetImage (TileIndexType nDIndex, bool metadataOnly) |
| |
| template<typename TImageToRead> |
| TImageToRead::Pointer | GetImageHelper (TileIndexType nDIndex, bool metadataOnly, RegionType region) |
| |
| TileIndexType | LinearIndexTonDIndex (DataObjectPointerArraySizeType linearIndex) const |
| |
| virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
| |
| DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType) override |
| |
| DataObjectPointerArraySizeType | nDIndexToLinearIndex (TileIndexType nDIndex) const |
| |
| void | OptimizeTiles () |
| |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| |
| DataObjectPointerArraySizeType | ReferenceLinearIndex (DataObjectPointerArraySizeType candidateIndex) const |
| |
| void | RegisterPair (TileIndexType fixed, TileIndexType moving) |
| |
| void | ReleaseMemory (TileIndexType finishedTile) |
| |
| | TileMontage () |
| |
| void | UpdateMosaicBounds (TileIndexType index, TransformConstPointer transform, const ImageType *input, const ImageType *input0) |
| |
| void | WriteOutTransform (TileIndexType index, TranslationOffset offset) |
| |
| | ~TileMontage () override=default |
| |
| virtual void | AddInput (DataObject *input) |
| |
| void | AddOptionalInputName (const DataObjectIdentifierType &) |
| |
| void | AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
| |
| virtual void | AddOutput (DataObject *output) |
| |
| bool | AddRequiredInputName (const DataObjectIdentifierType &) |
| |
| bool | AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
| |
| virtual void | CacheInputReleaseDataFlags () |
| |
| virtual void | GenerateInputRequestedRegion () |
| |
| virtual void | GenerateOutputRequestedRegion (DataObject *output) |
| |
| DataObject * | GetInput (const DataObjectIdentifierType &key) |
| |
| const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
| |
| virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () const |
| |
| virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () const |
| |
| bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
| |
| bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
| |
| bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
| |
| DataObjectPointerArraySizeType | MakeIndexFromInputName (const DataObjectIdentifierType &name) const |
| |
| DataObjectPointerArraySizeType | MakeIndexFromOutputName (const DataObjectIdentifierType &name) const |
| |
| DataObjectIdentifierType | MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const |
| |
| DataObjectIdentifierType | MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const |
| |
| virtual void | PopBackInput () |
| |
| virtual void | PopFrontInput () |
| |
| | ProcessObject () |
| |
| virtual void | PropagateResetPipeline () |
| |
| virtual void | PushBackInput (const DataObject *input) |
| |
| virtual void | PushFrontInput (const DataObject *input) |
| |
| virtual void | ReleaseInputs () |
| |
| virtual void | RemoveInput (const DataObjectIdentifierType &key) |
| |
| virtual void | RemoveInput (DataObjectPointerArraySizeType) |
| |
| virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
| |
| virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
| |
| bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
| |
| virtual void | RestoreInputReleaseDataFlags () |
| |
| virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
| |
| virtual void | SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input) |
| |
| virtual void | SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output) |
| |
| void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
| |
| void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
| |
| virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
| |
| virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
| |
| virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
| |
| virtual void | SetPrimaryInput (DataObject *object) |
| |
| virtual void | SetPrimaryOutput (DataObject *object) |
| |
| void | SetRequiredInputNames (const NameArray &) |
| |
| virtual void | VerifyInputInformation () const |
| |
| virtual void | VerifyPreconditions () const |
| |
| | ~ProcessObject () override |
| |
| DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
| |
| const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
| |
| DataObject * | GetPrimaryInput () |
| |
| const DataObject * | GetPrimaryInput () const |
| |
| virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
| |
| virtual const char * | GetPrimaryInputName () const |
| |
| DataObject * | GetOutput (const DataObjectIdentifierType &key) |
| |
| const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
| |
| virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
| |
| virtual const char * | GetPrimaryOutputName () const |
| |
| DataObject * | GetOutput (DataObjectPointerArraySizeType i) |
| |
| const DataObject * | GetOutput (DataObjectPointerArraySizeType i) const |
| |
| DataObject * | GetPrimaryOutput () |
| |
| const DataObject * | GetPrimaryOutput () const |
| |
| virtual bool | GetThreaderUpdateProgress () const |
| |
| virtual void | ThreaderUpdateProgressOn () |
| |
| virtual void | ThreaderUpdateProgressOff () |
| |
| virtual void | SetThreaderUpdateProgress (bool arg) |
| |
| | Object () |
| |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| |
| | ~Object () override |
| |
| virtual LightObject::Pointer | InternalClone () const |
| |
| | LightObject () |
| |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| |
| virtual | ~LightObject () |
| |
template<typename TImageType, typename TPixelAccumulateType = typename NumericTraits<typename TImageType::PixelType>::AccumulateType, typename TInterpolator = LinearInterpolateImageFunction<TImageType, float>>
| virtual::itk::LightObject::Pointer itk::TileMergeImageFilter< TImageType, TPixelAccumulateType, TInterpolator >::CreateAnother |
( |
| ) |
const |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.