SceneAnalysisEffectFrame Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a video frame that includes the results of the scene analysis operation.
public ref class SceneAnalysisEffectFrame sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SceneAnalysisEffectFrame final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SceneAnalysisEffectFrame : System.IDisposable
Public NotInheritable Class SceneAnalysisEffectFrame
Implements IDisposable
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
Get an instance of this class by handling the SceneAnalysisEffect.SceneAnalyzed event.
For how-to guidance on using the SceneAnalysisEffect, see Scene anlysis for MediaCapture.
Version history
Windows version | SDK version | Value added |
---|---|---|
1709 | 16299 | AnalysisRecommendation |
Properties
AnalysisRecommendation |
Gets a value that specifies the recommended image processing to improve image quality and fidelity of captured images based on the current capture conditions. |
Duration |
Gets or sets the duration of the scene analysis effect frame. |
ExtendedProperties |
Gets the extended property set which enables getting and setting properties on the media frame. |
FrameControlValues |
Gets a CapturedFrameControlValues object that indicates the capture settings used for the frame. |
HighDynamicRange |
Gets a HighDynamicRangeOutput object that provides recommended FrameController objects and a value indicating the certainty of the HDR analysis. |
IsDiscontinuous |
Gets or sets a value that indicates whether a video frame is the first frame after a gap in the stream. |
IsReadOnly |
Gets a value indicating whether the frame is read-only. |
RelativeTime |
Gets or sets the relative time of the frame within the video stream. |
SystemRelativeTime |
Gets or sets a timestamp that is relative to the system and is correlatable across multiple media sources on the same device. |
Type |
Gets a string indicating the type of data the frame contains. |
Methods
Close() |
Disposes of the object and associated resources. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |