VideoDeviceController:曝光控制与曝光。哪个更好?
VideoDeviceController: ExposureControl vs. Exposure. Which is better?
可在此处找到 VideoDeviceController class 可用属性的信息:https://docs.microsoft.com/en-us/uwp/api/windows.media.devices.videodevicecontroller
我对 VideoDeviceController 中 ExposureControl 和 Exposure 之间的区别感到困惑 class。他们看起来很相似。为什么 Microsoft 会提供两者?两者有优劣之分吗?
"Gets the exposure control for this video device,"表示如下:
private MediaCapture _mediaCapture;
var exposureControl = _mediaCapture.VideoDeviceController.ExposureControl;
exposureControl.Auto
exposureControl.Min
exposureControl.Max
exposureControl.Supported
来源:https://docs.microsoft.com/en-us/uwp/api/windows.media.devices.exposurecontrol
"Gets a MediaDeviceControl object that can be used to get or set the camera's exposure time,"表示如下:
private MediaCapture _mediaCapture;
var otherExposureControl = _mediaCapture.VideoDeviceController.Exposure;
otherExposureControl.capabilities.auto;
otherExposureControl.capabilities.min;
otherExposureControl.capabilities.max;
otherExposureControl.capabilities.supported;
来源:https://docs.microsoft.com/en-us/uwp/api/windows.media.devices.mediadevicecontrol
和https://docs.microsoft.com/en-us/uwp/api/windows.media.devices.mediadevicecontrolcapabilities
The ExposureControl gives apps additional control over the exposure settings on a device.
这是给你答案的那一行,它写在 Expore Control 文档 -> 备注中。阅读它,您将了解 ExporeControl 是如何更好地做到这一点。
exposureControl 处理 capturing device 可以是任何连接到你的 windows 10 设备的捕获设备,而 exposure 仅根据每个文档的第一行处理设备的内置摄像头。希望这有帮助。
可在此处找到 VideoDeviceController class 可用属性的信息:https://docs.microsoft.com/en-us/uwp/api/windows.media.devices.videodevicecontroller
我对 VideoDeviceController 中 ExposureControl 和 Exposure 之间的区别感到困惑 class。他们看起来很相似。为什么 Microsoft 会提供两者?两者有优劣之分吗?
"Gets the exposure control for this video device,"表示如下:
private MediaCapture _mediaCapture;
var exposureControl = _mediaCapture.VideoDeviceController.ExposureControl;
exposureControl.Auto
exposureControl.Min
exposureControl.Max
exposureControl.Supported
来源:https://docs.microsoft.com/en-us/uwp/api/windows.media.devices.exposurecontrol
"Gets a MediaDeviceControl object that can be used to get or set the camera's exposure time,"表示如下:
private MediaCapture _mediaCapture;
var otherExposureControl = _mediaCapture.VideoDeviceController.Exposure;
otherExposureControl.capabilities.auto;
otherExposureControl.capabilities.min;
otherExposureControl.capabilities.max;
otherExposureControl.capabilities.supported;
来源:https://docs.microsoft.com/en-us/uwp/api/windows.media.devices.mediadevicecontrol
和https://docs.microsoft.com/en-us/uwp/api/windows.media.devices.mediadevicecontrolcapabilities
The ExposureControl gives apps additional control over the exposure settings on a device.
这是给你答案的那一行,它写在 Expore Control 文档 -> 备注中。阅读它,您将了解 ExporeControl 是如何更好地做到这一点。 exposureControl 处理 capturing device 可以是任何连接到你的 windows 10 设备的捕获设备,而 exposure 仅根据每个文档的第一行处理设备的内置摄像头。希望这有帮助。