Applying more effects to the camera
Well, this is not the end! Similar to other cameras, you can also apply several common effects, such as changing the brightness, contrast, hue, gamma, sharpness, white balance, gain, and saturation. The
ColorImageStream
class has the
CameraSettings
property of the type ColorCameraSettings
class that takes care of all these effects very easily.
You can set the values of all these properties and fine-tune the camera capture as per your needs. The SDK provides another set of properties to get the maximum and minimum range for all of them. For example, the MaxBrightness
and MinBrightness
properties of the ColorCameraSettings
class return the maximum and minimum values for the camera brightness.
Consider an application where you are applying the camera settings by changing the value's controls. At first, set the maximum and minimum values for the slider by getting the maximum and minimum values for the corresponding settings, and set the current property setting...