18#ifndef itkVideoFileReader_h
19#define itkVideoFileReader_h
41template <
typename TOutputV
ideoStream>
54 using FrameType =
typename VideoStreamType::FrameType;
67 static constexpr unsigned int FrameDimension = FrameType::ImageDimension;
80 itkSetStringMacro(FileName);
81 itkGetStringMacro(FileName);
86 itkSetMacro(IFrameSafe,
bool);
87 itkGetMacro(IFrameSafe,
bool);
88 itkBooleanMacro(IFrameSafe);
141 std::string m_FileName{};
148 bool m_PixelConversionNeeded{};
157#ifndef ITK_MANUAL_INSTANTIATION
158# include "itkVideoFileReader.hxx"
Traits class used to by ConvertPixels to convert blocks of pixels.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Reader that creates a VideoStream.
typename FrameType::SpacingType SpacingType
typename VideoIOBase::TemporalOffsetType TemporalOffsetType
typename VideoStreamType::FrameType FrameType
typename VideoStreamType::Pointer VideoStreamPointer
TemporalRatioType GetCurrentPositionRatio()
FrameOffsetType GetNumberOfFrames()
typename FrameType::DirectionType DirectionType
void UpdateOutputInformation() override
typename FrameType::RegionType RegionType
typename FrameType::SizeType SizeType
typename FrameType::PixelType PixelType
typename VideoIOBase::TemporalRatioType TemporalRatioType
void PrintSelf(std::ostream &os, Indent indent) const override
void DoConvertBuffer(const void *inputData, FrameOffsetType frameNumber)
~VideoFileReader() override=default
TemporalOffsetType GetCurrentPositionMSec()
void SetVideoIO(VideoIOBase *videoIO)
typename FrameType::IndexType IndexType
FrameOffsetType GetCurrentPositionFrame()
typename FrameType::PointType PointType
void TemporalStreamingGenerateData() override
typename VideoIOBase::FrameOffsetType FrameOffsetType
TOutputVideoStream VideoStreamType
TemporalRatioType GetFramesPerSecond()
Abstract superclass defines video IO interface.
SizeValueType FrameOffsetType
double TemporalOffsetType
A TemporalProcessObject that produces a VideoStream.
SmartPointer< Self > Pointer
ImageBaseType::DirectionType DirectionType
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....