LowLightFusion LowLightFusion LowLightFusion LowLightFusion Class

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.]
This class allows you to submit a set of image frames, captured in low-light settings and in close temporal proximity, and receieve a single image that has been processed to improve image lighting and fidelity.

public : static class LowLightFusionpublic static class LowLightFusionPublic Static Class LowLightFusion// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

This class implements the same computational photography algorithms as the AdvancedPhotoCapture class when used in low-light mode. The difference between this feature and AdvancedPhotoCapture is that because this feature is decoupled from the capture pipeline, you can use it on images that were captured at any time and in any manner, as long as the image format is supported. Supported formats can be determined by checking the SupportedBitmapPixelFormats property.

Properties

MaxSupportedFrameCount MaxSupportedFrameCount MaxSupportedFrameCount MaxSupportedFrameCount

Prerelease. Gets the maximum number of frames that can be submitted to the FuseAsync method.

public : static int MaxSupportedFrameCount { get; }public static int MaxSupportedFrameCount { get; }Public Static ReadOnly Property MaxSupportedFrameCount As int// You can use this property in JavaScript.
Value
int int int int

The maximum number of frames that can be submitted to the FuseAsync method.

SupportedBitmapPixelFormats SupportedBitmapPixelFormats SupportedBitmapPixelFormats SupportedBitmapPixelFormats

Prerelease. Gets a list of BitmapPixelFormat values that define the supported pixel formats for the FuseAsync method.

public : static IVectorView<BitmapPixelFormat> SupportedBitmapPixelFormats { get; }public static IReadOnlyList<BitmapPixelFormat> SupportedBitmapPixelFormats { get; }Public Static ReadOnly Property SupportedBitmapPixelFormats As IReadOnlyList<BitmapPixelFormat>// You can use this property in JavaScript.
Value
IVectorView<BitmapPixelFormat> IReadOnlyList<BitmapPixelFormat> IReadOnlyList<BitmapPixelFormat> IReadOnlyList<BitmapPixelFormat>

A list of supported pixel formats.

Methods

FuseAsync(IIterable) FuseAsync(IIterable) FuseAsync(IIterable) FuseAsync(IIterable)

Prerelease. Asynchronously fuses a set of images into a single image that has been computed to improve image lighting and fidelity.

public : static IAsyncOperationWithProgress<LowLightFusionResult, double> FuseAsync(IIterable<SoftwareBitmap> frameSet)public static IAsyncOperationWithProgress<LowLightFusionResult, double> FuseAsync(IEnumerable<SoftwareBitmap> frameSet)Public Static Function FuseAsync(frameSet As IEnumerable<SoftwareBitmap>) As IAsyncOperationWithProgress( Of LowLightFusionResult, double )// You can use this method in JavaScript.
Parameters
frameSet
IIterable<SoftwareBitmap> IEnumerable<SoftwareBitmap> IEnumerable<SoftwareBitmap> IEnumerable<SoftwareBitmap>

The collection of image frames to be processed.

Returns

An asynchronous operation that returns a LowLightFusionResult upon successful completion. The app should call Close on the returned object to free up the allocated resources.

Remarks

This method will return in an error in the following cases:

  • The number of images in the provided collection exceeds the specified by MaxSupportedFrameCount property.
  • The images in the provided collection have different pixel formats.
  • The images in the provided collection have different resolutions.
  • The images in the provided collection are in an unsupported pixel format. Supported formats can be determined by checking the SupportedBitmapPixelFormats property.

See Also