18 #ifndef itkOpenCVVideoIO_h
19 #define itkOpenCVVideoIO_h
75 virtual void Read(
void *buffer);
102 virtual double GetOrigin(
unsigned int itkNotUsed(i))
const
118 virtual void Write(
const void *buffer);
122 const std::vector<SizeValueType>& dim,
124 unsigned int nChannels,
163 #endif // itkOpenCVVideoIO_h
Light weight base class for most itk classes.
virtual void SetReadFromCamera()
virtual FrameOffsetType GetLastIFrame() const
Abstract superclass defines video IO interface.
virtual double GetSpacing(unsigned int) const
void PrintSelf(std::ostream &os, Indent indent) const override
virtual bool SetNextFrameToRead(FrameOffsetType frameNumber)
virtual void WriteImageInformation()
virtual double GetOrigin(unsigned int) const
virtual void Write(const void *buffer)
virtual CameraIDType GetCameraIndex() const
void operator=(const Self &)
SizeValueType FrameOffsetType
virtual void SetWriterParameters(TemporalRatioType fps, const std::vector< SizeValueType > &dim, const char *fourCC, unsigned int nChannels, IOComponentType componentType)
virtual TemporalOffsetType GetPositionInMSec() const
virtual bool CanReadFile(const char *)
Superclass::TemporalOffsetType TemporalOffsetType
virtual void ReadImageInformation()
void UpdateReaderProperties()
Superclass::CameraIDType CameraIDType
virtual void SetCameraIndex(CameraIDType idx)
Superclass::TemporalRatioType TemporalRatioType
SizeValueType CameraIDType
SmartPointer< Self > Pointer
virtual FrameOffsetType GetIFrameInterval() const
VideoIO object for reading and writing videos using OpenCV.
virtual TemporalRatioType GetFramesPerSecond() const
virtual void FinishReadingOrWriting()
virtual bool CanWriteFile(const char *)
Control indentation during Print() invocation.
virtual TemporalRatioType GetRatio() const
virtual FrameOffsetType GetFrameTotal() const
virtual std::vector< double > GetDirection(unsigned int i) const
Base class for most ITK classes.
virtual void Read(void *buffer)
virtual void SetReadFromFile()
double TemporalOffsetType
Superclass::FrameOffsetType FrameOffsetType
virtual std::vector< double > GetDefaultDirection(unsigned int i) const
virtual bool CanReadCamera(CameraIDType cameraID) const
virtual FrameOffsetType GetCurrentFrame() const