Analysis Effect Class
Represents an effect that analyzes video frames to determine if any of the supported variable photo sequence capture techniques may produce a higher-quality captured image.
public ref class SceneAnalysisEffect sealed
class SceneAnalysisEffect sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] [Windows.Foundation.Metadata.DualApiPartition(version=167772160)] [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)] [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)] public sealed class SceneAnalysisEffect
Public NotInheritable Class SceneAnalysisEffect
<xref href="Windows.Media.IMediaExtension?alt=Windows.Media.IMediaExtension&text=IMediaExtension" data-throw-if-not-resolved="True"/>
Windows 10 requirements
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
Just like other effects, the scene analyzer effect is added to the capture pipeline by calling AddEffectAsync. After capture is started, the SceneAnalyzed event is raised. In the handler for this event, you can get access to the output object that indicates the likelihood that a particular technique will improve the captured image. The output object also provides a set of FrameController objects with recommended settings that can be assigned directly to the VariablePhotoSequenceController.DesiredFrameControllers collection to enable the capture technique.
In the current release, the only analyzer supported is the High Dynamic Range (HDR) analyzer.
For how-to guidance on using the SceneAnalysisEffect, see Scene anlysis for MediaCapture.
Gets or sets the duration of the time window during which video frames are analyzed.
Gets a HighDynamicRangeControl object that is used to enable or disable High Dynamic Range (HDR) analysis.
Sets properties on the IMediaExtension.
Raised when the scene analysis is complete. See SceneAnalyzedEventArgs