Image adjustments (brightness, contrast, etc)
VMR9 image adjustments
Video stream image adjustments
When the frame grabber is enabled, it is possible to adjust the brightness, contrast, hue and saturation of the video stream by using:
These properties affect the whole video stream, therefore the captured frames and the recorded streams will be affected.
On the other hand, each of these image processings requires CPU when the corresponding property is "in use" (when its value is <> 0).
Greyscale and inverted colors
When the frame grabber is enabled, it is possible:
- to convert the video stream in greyscale mode by enabling VideoProcessing_GrayScale
- to invert the colors by enabling VideoProcessing_InvertColors
The video frames will be pixellized by assigning to VideoProcessing_Pixellization a value greater than 1.
VMR9 display image adjustments
Unlike the video stream image adjustments above that require CPU, it is possible to adjust the brightness, contrast, hue and saturation at the graphic card level by using the VMR9 video renderer.
Of course, this processing affects only the display, and not the captured frames or the recorded streams.
The correponding functions are:
GetVMR9ImageAdjustmentBounds -> returns the bounds of a setting (e.g. the brightness), useful e.g. to setup a trackbar
IsVMR9ImageAdjustmentAvailable -> returns true if a setting (e.g. the brightness) is available
SetVMR9ImageAdjustmentValue -> sets a setting value (e.g. the brightness).