18 #ifndef __vidl_itk_istream_h
19 #define __vidl_itk_istream_h
21 #include "vidl/vidl_istream.h"
38 template<
typename TV
ideoStream >
48 typedef typename VideoStreamType::FrameType
FrameType;
51 static const unsigned int Dimensions = FrameType::ImageDimension;
98 virtual unsigned int width()
const;
101 virtual unsigned int height()
const;
104 virtual vidl_pixel_format
format()
const;
126 virtual bool seek_frame(
unsigned int frameNumber);
141 #ifndef ITK_MANUAL_INSTANTIATION
142 #include "vidl_itk_istream.hxx"
vidl_itk_istream< VideoStreamType > Self
virtual unsigned int height() const
virtual vidl_frame_sptr current_frame()
FrameType::PixelType PixelType
TVideoStream VideoStreamType
implementation of VXL's vidl_istream using an itk VideoStream
unsigned long SizeValueType
virtual vidl_pixel_format format() const
virtual ~vidl_itk_istream()
virtual unsigned int width() const
virtual unsigned int frame_number() const
virtual bool is_open() const
VideoStreamType * m_VideoStream
VideoStreamType::FrameType FrameType
::itk::SizeValueType FrameOffsetType
virtual double duration() const
virtual bool is_seekable() const
virtual vidl_frame_sptr read_frame()
virtual bool is_valid() const
virtual bool open(VideoStreamType *videoStream)
static const unsigned int Dimensions
virtual double frame_rate() const
virtual bool seek_frame(unsigned int frameNumber)
virtual int num_frames() const