18 #ifndef itkVideoSource_h
19 #define itkVideoSource_h
42 template<
typename TOutputV
ideoStream >
75 static constexpr
unsigned int OutputFrameDimension = OutputFrameType::ImageDimension;
78 return OutputFrameType::ImageDimension;
85 OutputVideoStreamType* GetOutput();
87 OutputVideoStreamType* GetOutput(
unsigned int idx);
91 virtual void GraftNthOutput(
unsigned int idx, OutputVideoStreamType* output);
96 virtual void GraftOutput(OutputVideoStreamType* output);
102 using Superclass::MakeOutput;
125 void TemporalStreamingGenerateData()
override;
138 virtual void ThreadedGenerateData(
147 virtual void AllocateOutputs();
162 virtual int SplitRequestedSpatialRegion(
int i,
int num,
163 OutputFrameSpatialRegionType& splitRegion);
177 void PrintSelf(std::ostream & os,
Indent indent)
const override;
185 #ifndef ITK_MANUAL_INSTANTIATION
186 #include "itkVideoSource.hxx"
typename FrameType::SpacingType SpacingType
typename FrameType::PixelType PixelType
Light weight base class for most itk classes.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
static unsigned int GetOutputFrameDimension()
typename OutputVideoStreamType::SpatialRegionType OutputFrameSpatialRegionType
virtual void BeforeThreadedGenerateData()
itk::ITK_THREAD_RETURN_TYPE ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION
typename OutputVideoStreamType::IndexType OutputFrameIndexType
Implements a weak reference to an object.
A TemporalProcessObject that produces a VideoStream.
typename OutputVideoStreamType::SizeType OutputFrameSizeType
typename OutputVideoStreamType::FrameType OutputFrameType
typename OutputVideoStreamType::PointType OutputFramePointType
TemporalProcessObject implements a ProcessObject for the itk pipeline with the notion of a temporal r...
ImageBaseType::SizeType SizeType
ImageBaseType::DirectionType DirectionType
ImageBaseType::IndexType IndexType
A DataObject that holds a buffered portion of a video.
typename OutputVideoStreamType::DirectionType OutputFrameDirectionType
Control indentation during Print() invocation.
DataObject subclass with knowledge of temporal region.
ImageBaseType::PointType PointType
typename OutputVideoStreamType::PixelType OutputFramePixelType
virtual void AfterThreadedGenerateData()
typename FrameType::RegionType SpatialRegionType
typename OutputVideoStreamType::SpacingType OutputFrameSpacingType