ITK
5.2.0
Insight Toolkit
|
#include <itkVideoFileWriter.h>
Writer that takes in a VideoStream and writes the frames to a file.
This class is a subclass of TemporalProcessObject which specifically takes a single VideoStream as input and writes the frames out to a file in sequence. A call to Update() will write the entire requested temporal region to the file. If no temporal region is requested, the largest possible will be used.
Definition at line 40 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::FrameType = typename VideoStreamType::FrameType |
Definition at line 57 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::IOBasePointer = typename VideoIOBase::Pointer |
Definition at line 51 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::IOBaseType = VideoIOBase |
Definition at line 50 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::PixelType = typename FrameType::PixelType |
Definition at line 58 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::Pointer = SmartPointer<Self> |
Definition at line 48 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::Self = VideoFileWriter<TInputVideoStream> |
Standard class type aliases.
Definition at line 46 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::SizeValueType = typename IOBaseType::SizeValueType |
Definition at line 52 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::Superclass = TemporalProcessObject |
Definition at line 47 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::TemporalRatioType = typename IOBaseType::TemporalRatioType |
Definition at line 53 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::VideoStreamPointer = typename VideoStreamType::Pointer |
Definition at line 56 of file itkVideoFileWriter.h.
using itk::VideoFileWriter< TInputVideoStream >::VideoStreamType = TInputVideoStream |
Definition at line 55 of file itkVideoFileWriter.h.
|
protected |
The file to write.
|
overrideprotected |
The file to write.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
void itk::VideoFileWriter< TInputVideoStream >::FinishWriting | ( | ) |
Finish writing the video and close the file
|
virtual |
The file to write.
|
virtual |
The file to write.
|
virtual |
The file to write.
const VideoStreamType* itk::VideoFileWriter< TInputVideoStream >::GetInput | ( | ) |
The file to write.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::TemporalProcessObject.
|
virtual |
The file to write.
|
protected |
Initialize output parameters.
|
protected |
Set up the VideoIO using VideoIOFactory. Returns true if successful, false otherwise. Warning: this will overwrite any currently set VideoIO
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
The file to write.
Reimplemented from itk::TemporalProcessObject.
|
virtual |
Specify the file to read. This is forwarded to the IO instance.
|
virtual |
Specify the FourCC to use for video encoding. FourCC, or four character code, is commonly used to denote the codec to be used to encode video by many libraries. See http://en.wikipedia.org/wiki/FourCC for more information.
|
virtual |
Specify the output FpS.
void itk::VideoFileWriter< TInputVideoStream >::SetInput | ( | const VideoStreamType * | input | ) |
The file to write.
|
virtual |
Get/Set the OutputTemporalRegion
void itk::VideoFileWriter< TInputVideoStream >::SetVideoIO | ( | IOBasePointer | videoIO | ) |
Manually set the VideoIO to use
|
overrideprotectedvirtual |
Override TemporalStreamingGenerateData to do the actual writing.
Reimplemented from itk::TemporalProcessObject.
|
overridevirtual |
Aliased to the Write() method to be consistent with the rest of the pipeline.
Reimplemented from itk::ProcessObject.
|
overridevirtual |
Write the entire video to a file, if possible. This is the same as calling write or update without setting an output temporal region.
Reimplemented from itk::ProcessObject.
void itk::VideoFileWriter< TInputVideoStream >::Write | ( | ) |
Write the requested temporal region to a file. If no OutputTemporalRegion has been set, the largest possible temporal region of the input will be used.
|
private |
The file to write.
Definition at line 157 of file itkVideoFileWriter.h.
|
private |
The file to write.
Definition at line 155 of file itkVideoFileWriter.h.
|
private |
The file to write.
Definition at line 144 of file itkVideoFileWriter.h.
|
private |
The file to write.
Definition at line 154 of file itkVideoFileWriter.h.
|
private |
Parameters for writing.
Definition at line 153 of file itkVideoFileWriter.h.
|
private |
The file to write.
Definition at line 156 of file itkVideoFileWriter.h.
|
private |
TemporalRegion to write out.
Definition at line 150 of file itkVideoFileWriter.h.
|
private |
The VideoIO used for writing.
Definition at line 147 of file itkVideoFileWriter.h.