#include <mvl2_video_from_sequence.h>
Inheritance diagram for mvl2_video_from_sequence:

Definition at line 13 of file mvl2_video_from_sequence.h.
Public Member Functions | |
| mvl2_video_from_sequence () | |
| Dflt ctor. | |
| virtual | ~mvl2_video_from_sequence () |
| Destructor. | |
| virtual bool | initialize (int width, int height, vcl_string format, vcl_string file_name) |
| Initialize the file (format can by Grey, RGB, or more complex). | |
| virtual void | uninitialize () |
| Tidy up. | |
| virtual void | set_capture_size (int width, int height) |
| Set the size of image captured. | |
| virtual int | get_width () |
| Return width of image (in pixels). | |
| virtual int | get_height () |
| Return height of image (in pixels). | |
| virtual double | get_frame_rate () |
| Return the frame rate in frames per second. | |
| virtual void | set_frame_rate (double frame_rate) |
| Set the frame rate in frames per second. | |
| virtual int | next_frame () |
| Move frame counter on to next frame. | |
| virtual void | reset_frame () |
| Reset frame counter to zero. | |
| virtual bool | get_frame (vil_image_view< vxl_byte > &image) |
| Put frame data into the given image. | |
| virtual vcl_string | is_a () const |
| Name of the class. | |
| virtual mvl2_video_reader * | clone () const |
| Create a copy on the heap and return base class pointer. | |
| virtual int | seek (int frame_number) |
| Move frame counter on to given frame if relevant. | |
| virtual int | length () |
| Returns the number of frames available from the beginning of the stream or -1 if unknown. | |
| vcl_vector< vcl_string > | load_configs (vcl_string filename) |
| Load configurations from a file, returns a configuration's name vector. | |
| bool | use_config (vcl_string configname) |
| Use the configuration given by the configuration's name. | |
| void | display_configs () |
| Display the configurations on the standard output. | |
| virtual bool | is_initialized () |
| Check whether camera is initialised. | |
| virtual int | get_frame_number () |
| Return the current frame number. | |
| virtual void | set_brightness (int) |
| Set the brightness of the picture. | |
| virtual void | set_hue (int) |
| Set the hue of the picture. | |
| virtual void | set_colour (int) |
| Set the colour of the picture. | |
| virtual void | set_contrast (int) |
| Set the contrast of the picture. | |
| virtual void | set_whiteness (int) |
| Set the whiteness of the picture. | |
Protected Attributes | |
| bool | use_colour_ |
| bool | is_initialized_ |
| unsigned int | current_frame_ |
| double | frame_rate_ |
| int | width_ |
| int | height_ |
| bool | firstcall_ |
| vcl_vector< vcl_string > | config_names_ |
| vcl_vector< vcl_pair< int, int > > | config_sizes_ |
| vcl_vector< vcl_string > | config_strings_ |
| vcl_vector< vcl_string > | config_filenames_ |
Private Attributes | |
| int | no_digits_ |
| vcl_string | file_stem_ |
| int | offset_ |
| bool | use_seq_file_ |
| vcl_vector< vcl_string > | list_files_ |
|
|
Dflt ctor.
Definition at line 14 of file mvl2_video_from_sequence.cxx. |
|
|
Destructor.
Definition at line 24 of file mvl2_video_from_sequence.cxx. |
|
|
Create a copy on the heap and return base class pointer.
Implements mvl2_video_reader. Definition at line 33 of file mvl2_video_from_sequence.cxx. |
|
|
Display the configurations on the standard output.
Definition at line 82 of file mvl2_video_reader.cxx. |
|
|
Put frame data into the given image.
Implements mvl2_video_reader. Definition at line 111 of file mvl2_video_from_sequence.cxx. |
|
|
Return the current frame number.
Definition at line 59 of file mvl2_video_reader.h. |
|
|
Return the frame rate in frames per second.
Implements mvl2_video_reader. Definition at line 161 of file mvl2_video_from_sequence.cxx. |
|
|
Return height of image (in pixels).
Reimplemented from mvl2_video_reader. Definition at line 171 of file mvl2_video_from_sequence.cxx. |
|
|
Return width of image (in pixels).
Reimplemented from mvl2_video_reader. Definition at line 166 of file mvl2_video_from_sequence.cxx. |
|
||||||||||||||||||||
|
Initialize the file (format can by Grey, RGB, or more complex).
Implements mvl2_video_reader. Definition at line 39 of file mvl2_video_from_sequence.cxx. |
|
|
Name of the class.
Reimplemented from mvl2_video_reader. Definition at line 28 of file mvl2_video_from_sequence.cxx. |
|
|
Check whether camera is initialised.
Definition at line 47 of file mvl2_video_reader.h. |
|
|
Returns the number of frames available from the beginning of the stream or -1 if unknown.
Reimplemented from mvl2_video_reader. Definition at line 181 of file mvl2_video_from_sequence.cxx. |
|
|
Load configurations from a file, returns a configuration's name vector.
Definition at line 28 of file mvl2_video_reader.cxx. |
|
|
Move frame counter on to next frame.
Implements mvl2_video_reader. Definition at line 104 of file mvl2_video_from_sequence.cxx. |
|
|
Reset frame counter to zero.
Implements mvl2_video_reader. Definition at line 151 of file mvl2_video_from_sequence.cxx. |
|
|
Move frame counter on to given frame if relevant.
Reimplemented from mvl2_video_reader. Definition at line 187 of file mvl2_video_from_sequence.cxx. |
|
|
Set the brightness of the picture.
Definition at line 83 of file mvl2_video_reader.h. |
|
||||||||||||
|
Set the size of image captured.
Implements mvl2_video_reader. Definition at line 176 of file mvl2_video_from_sequence.cxx. |
|
|
Set the colour of the picture.
Definition at line 89 of file mvl2_video_reader.h. |
|
|
Set the contrast of the picture.
Definition at line 92 of file mvl2_video_reader.h. |
|
|
Set the frame rate in frames per second.
Implements mvl2_video_reader. Definition at line 156 of file mvl2_video_from_sequence.cxx. |
|
|
Set the hue of the picture.
Definition at line 86 of file mvl2_video_reader.h. |
|
|
Set the whiteness of the picture.
Definition at line 95 of file mvl2_video_reader.h. |
|
|
Tidy up.
Reimplemented from mvl2_video_reader. Definition at line 100 of file mvl2_video_from_sequence.cxx. |
|
|
Use the configuration given by the configuration's name.
Definition at line 100 of file mvl2_video_reader.cxx. |
|
|
Definition at line 118 of file mvl2_video_reader.h. |
|
|
Definition at line 115 of file mvl2_video_reader.h. |
|
|
Definition at line 116 of file mvl2_video_reader.h. |
|
|
Definition at line 117 of file mvl2_video_reader.h. |
|
|
Definition at line 110 of file mvl2_video_reader.h. |
|
|
Definition at line 69 of file mvl2_video_from_sequence.h. |
|
|
Definition at line 114 of file mvl2_video_reader.h. |
|
|
Definition at line 111 of file mvl2_video_reader.h. |
|
|
Definition at line 113 of file mvl2_video_reader.h. |
|
|
Definition at line 109 of file mvl2_video_reader.h. |
|
|
Definition at line 72 of file mvl2_video_from_sequence.h. |
|
|
Definition at line 68 of file mvl2_video_from_sequence.h. |
|
|
Definition at line 70 of file mvl2_video_from_sequence.h. |
|
|
Definition at line 108 of file mvl2_video_reader.h. |
|
|
Definition at line 71 of file mvl2_video_from_sequence.h. |
|
|
Definition at line 112 of file mvl2_video_reader.h. |
1.4.4