SceneAnalysisRecommendation
SceneAnalysisRecommendation
SceneAnalysisRecommendation
SceneAnalysisRecommendation
Enum
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Specifies the recommended image processing to improve image quality and fidelity of captured images based on the current capture conditions, as determined by the SceneAnalysisEffect.
public : enum class SceneAnalysisRecommendationpublic enum SceneAnalysisRecommendationPublic Enum SceneAnalysisRecommendation// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Fields
| Hdr Hdr Hdr Hdr | Prerelease. High Dynamic Range (HDR) processing is recommended. |
| LowLight LowLight LowLight LowLight | Prerelease. Low-light processing is recommended. |
| Standard Standard Standard Standard | Prerelease. No image processing is recommended. |
Remarks
Get a value from this enumeration by implementing the SceneAnalysisEffect, registering a handler for the SceneAnalyzed event, and then checking the AnalysisRecommendation property of the SceneAnalysisEffectFrame passed in the event args. For more information on using the SceneAnalysisEffect, see Scene anlysis for MediaCapture.
If the effect recommends using HDR, you can do this in the following ways:
- Use the AdvancedPhotoCapture class to capture photos using the Windows built-in HDR processing algorithm. For more information, see High Dynamic Range (HDR) and low-light photo capture.
- Use the HdrVideoControl to capture video using the Windows built-in HDR processing algorithm. For more information, see Capture device controls for video capture.
- Use VariablePhotoSequenceCapture to capture a sequence of frames that you can then composite using a custom HDR implementation. For more information, see Variable photo sequence.
If the effect recomends low-light processing, you can implement this in the following ways:
Use the AdvancedPhotoCapture class to capture photos using the Windows built-in low-light processing algorithm. For more information, see High Dynamic Range (HDR) and low-light photo capture.
Use the LowLightFusion class to use the Windows built-in low-light processing algorithm on images that you capture without using AdvancedPhotoCapture.