Inheritance diagram for vetNoiseGenerator:

Public Types | |
| enum | RUNMODE |
| Available run modes. | |
Public Member Functions | |
| vetNoiseGenerator (float fps=0) | |
| Default constructor, frame rate is managed by vetInput class. | |
| vetNoiseGenerator (RUNMODE runm, float fps) | |
| Default constructor initialize background, frame rate is managed by vetInput class. | |
| VETRESULT | reset () |
| Reset variables and noise source. | |
| void | resetNoiseSource () |
| Reset current random generator source. | |
| unsigned int | getWidth () const |
| Pixel are generated directly into output image! | |
| unsigned int | getHeight () const |
| Pixel are generated directly into output image! | |
| bool | EoF () |
| Get the state of current data source. | |
| VETRESULT | extractTo (vetFrameYUV420 &img) |
| Create a new noise frame with current settings. | |
| VETRESULT | extractTo (vetFrameRGB24 &img) |
| Create a new noise frame with current settings. | |
| VETRESULT | extractTo (vetFrameT< unsigned char > &img) |
| Create a new noise frame with current settings. | |
Static Public Member Functions | |
| static PixelRGB96 | getRandomPixelRGB96 () |
| Create a random RGB pixel. | |
| static PixelRGB24 | getRandomPixelRGB24 () |
| Create a random RGB24 pixel. | |
| static PixelHSV | getRandomPixelHSV () |
| Create a random HSV pixel. | |
| static PixelGrey | getRandomPixelGrey () |
| Create a random greyscale pixel. | |
Protected Attributes | |
| int | v_runmode |
| Current run mode. | |
| bool | normalized |
| do noise-value normalization | |
| float | spread |
| number of pixel involved in operation [0,1] | |
| int | normalize_value |
| normalization value [rand() % normalize_value] | |
Definition at line 43 of file vetNoiseGenerator.h.
|
|
Default constructor, frame rate is managed by vetInput class.
Definition at line 31 of file vetNoiseGenerator.cpp. |
|
||||||||||||
|
Default constructor initialize background, frame rate is managed by vetInput class.
Definition at line 45 of file vetNoiseGenerator.cpp. |
|
|
Get the state of current data source.
Implements vetInput. Definition at line 154 of file vetNoiseGenerator.h. |
|
|
Create a new noise frame with current settings.
Implements vetInput. Definition at line 228 of file vetNoiseGenerator.cpp. References INFO, and VETRET_NOT_IMPLEMENTED. |
|
|
Create a new noise frame with current settings.
Implements vetInput. Definition at line 180 of file vetNoiseGenerator.cpp. References vetFrameRGB24::data, vetFrame::height, INFO, normalize_value, normalized, spread, VETRET_OK, and vetFrame::width. |
|
|
Create a new noise frame with current settings.
Implements vetInput. Definition at line 161 of file vetNoiseGenerator.cpp. References INFO, and VETRET_NOT_IMPLEMENTED. |
|
|
Pixel are generated directly into output image!
Implements vetInput. Definition at line 147 of file vetNoiseGenerator.h. |
|
|
Create a random greyscale pixel.
Definition at line 141 of file vetNoiseGenerator.cpp. |
|
|
Create a random HSV pixel.
Definition at line 127 of file vetNoiseGenerator.cpp. References PixelHSV::hue, PixelHSV::sat, and PixelHSV::val. |
|
|
Create a random RGB24 pixel.
Definition at line 112 of file vetNoiseGenerator.cpp. |
|
|
Create a random RGB pixel.
Definition at line 96 of file vetNoiseGenerator.cpp. |
|
|
Pixel are generated directly into output image!
Implements vetInput. Definition at line 141 of file vetNoiseGenerator.h. |
|
|
Reset variables and noise source.
Implements vetInput. Definition at line 59 of file vetNoiseGenerator.cpp. References normalize_value, normalized, resetNoiseSource(), spread, v_runmode, and VETRET_OK. Referenced by vetNoiseGenerator(). |
1.4.4