|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkFileListVideoIO_h
19 #define itkFileListVideoIO_h
22 #include "ITKVideoIOExport.h"
61 itkGetConstMacro(FileNames, std::vector<std::string>);
65 SetFileName(
const std::string & fileList)
override;
67 SetFileName(
const char * fileList)
override;
72 FinishReadingOrWriting()
override;
77 static std::vector<std::string>
78 SplitFileNames(
const std::string & fileList);
82 SetReadFromFile()
override;
86 SetReadFromCamera()
override;
91 CanReadFile(
const char *)
override;
99 ReadImageInformation()
override;
103 Read(
void * buffer)
override;
114 return this->m_PositionInMSec;
119 return this->m_Ratio;
124 return this->m_FrameTotal;
129 return this->m_FramesPerSecond;
134 return this->m_CurrentFrame;
136 itkGetConstMacro(IFrameInterval, FrameOffsetType);
140 return this->m_LastIFrame;
146 GetSpacing(
unsigned int i)
const override;
149 GetOrigin(
unsigned int i)
const override;
152 GetDirection(
unsigned int i)
const override;
157 CanWriteFile(
const char *)
override;
162 WriteImageInformation()
override;
167 Write(
const void * buffer)
override;
171 SetWriterParameters(TemporalRatioType framesPerSecond,
172 const std::vector<SizeValueType> & dim,
174 unsigned int nChannels,
182 PrintSelf(std::ostream & os,
Indent indent)
const override;
198 VerifyExtensions(
const std::vector<std::string> & fileList)
const;
207 #endif // itkFileListVideoIO_h
TemporalRatioType GetFramesPerSecond() const override
Abstract superclass defines image IO interface.
VideoIO object for reading and writing videos as a sequence of frame files.
std::vector< std::string > m_FileNames
ImageIOBase::Pointer m_ImageIO
Control indentation during Print() invocation.
FrameOffsetType GetLastIFrame() const override
TemporalOffsetType GetRatio() const override
FrameOffsetType GetFrameTotal() const override
TemporalOffsetType GetPositionInMSec() const override
Light weight base class for most itk classes.
double TemporalOffsetType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType CameraIDType
FrameOffsetType GetCurrentFrame() const override
SizeValueType FrameOffsetType
Base class for most ITK classes.
Abstract superclass defines video IO interface.