template<typename TInputVideoStream, typename TOutputVideoStream>
class itk::VideoToVideoFilter< TInputVideoStream, TOutputVideoStream >
Base class for filters that use a VideoStream as input and output.
VideoToVideoFilter is the base class for all process objects that output VideoStream data and require VideoStream data as input. This class defines the SetInput() method for setting the input to a filter.
An implementation of GenerateInputRequestedRegion() is provided here that uses the implementation from TemporalProcessObject to generate input temporal regions and then provides its own mechanism for generating input spatial regions. The default implementation simply takes the requested spatial region from the first frame of output and uses that as the requested region for each of the input frames.
Definition at line 45 of file itkVideoToVideoFilter.h.
|
void | BeforeTemporalStreamingGenerateData () override |
|
void | GenerateInputRequestedRegion () override |
|
void | GenerateOutputRequestedRegion (DataObject *output) override |
|
InputVideoStreamType * | GetInput () |
|
InputVideoStreamType * | GetInput (unsigned int idx) |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| VideoToVideoFilter () |
|
| ~VideoToVideoFilter () override=default |
|
virtual void | AfterThreadedGenerateData () |
|
virtual void | AllocateOutputs () |
|
virtual void | BeforeThreadedGenerateData () |
|
void | GenerateOutputRequestedTemporalRegion (TemporalDataObject *output) override |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
virtual int | SplitRequestedSpatialRegion (int i, int num, OutputFrameSpatialRegionType &splitRegion) |
|
void | TemporalStreamingGenerateData () override |
|
virtual void | ThreadedGenerateData (const OutputFrameSpatialRegionType &outputRegionForThread, int threadId) |
|
| VideoSource () |
|
| ~VideoSource () override=default |
|
virtual void | AfterTemporalStreamingGenerateData () |
|
virtual void | BeforeTemporalStreamingGenerateData () |
|
virtual void | EnlargeOutputRequestedTemporalRegion (TemporalDataObject *output) |
|
virtual TemporalRegion | GenerateDefaultLargestPossibleTemporalRegion () |
|
virtual void | GenerateInputRequestedTemporalRegion () |
|
virtual void | GenerateOutputRequestedTemporalRegion (TemporalDataObject *output) |
|
virtual SizeValueType | GetInputStencilCurrentFrameIndex () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
virtual void | SetFrameSkipPerOutput (OffsetValueType _arg) |
|
virtual void | SetInputStencilCurrentFrameIndex (SizeValueType _arg) |
|
virtual void | SetUnitInputNumberOfFrames (SizeValueType _arg) |
|
virtual void | SetUnitOutputNumberOfFrames (SizeValueType _arg) |
|
virtual std::vector< TemporalRegion > | SplitRequestedTemporalRegion () |
|
| TemporalProcessObject () |
|
| ~TemporalProcessObject () 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 | GenerateData () |
|
virtual void | GenerateInputRequestedRegion () |
|
virtual void | GenerateOutputInformation () |
|
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 () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| 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 | SetThreaderUpdateProgress (bool arg) |
|
| Object () |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
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 | PrintSelf (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|