Share via


ImageAligner Members

Include Protected Members
Include Inherited Members

The ImageAligner type exposes the following members.

Constructors

  Name Description
Public method ImageAligner()
Creates a new image aligner with default settings.
Public method ImageAligner(IVectorView)
Initializes a new instance of the ImageAligner class
Public method ImageAligner(IReadOnlyList<IImageProvider>)
Initializes a new instance of the ImageAligner class
Public method ImageAligner(IVectorView, Void)
Initializes a new instance of the ImageAligner class
Public method ImageAligner(IReadOnlyList<IImageProvider>, IImageProvider)
Initializes a new instance of the ImageAligner class
Public method ImageAligner(IVectorView, Void, IImageProvider)
Initializes a new instance of the ImageAligner class
Public method ImageAligner(IReadOnlyList<IImageProvider>, IImageProvider, Int32)
Initializes a new instance of the ImageAligner class

Methods

  Name Description
Public method AlignAsync
Aligns the images in Sources.
Public method Close

Properties

  Name Description
Public property BitmapCacheSize
The maximum number of bitmaps that are cached internally during processing.

If set to 0, the number of cached bitmaps will not be limited.

Default is 2.

Public property PropertyDescriptions
Public property Quality

Quality of the alignment. Setting a lower quality will make the effect run faster, at the expense of the quality of the result.

Default value is High.

Public property ReferenceSource

Reference image that will be used as a starting point for aligning the images. Must be one of the image sources in Sources, or the alignment will fail with an InvalidOperationException.

Selecting a different reference source will invalidate the alignment, and AlignAsync() must be called (again) before attempting to render an aligned source. Failing that an exception will be thrown during rendering.

If set to null, will default to the middle element in the Sources list.

Default is null.

Public property Sources

A list of images to align.

At least two image and a maximum of 40 sources must be provided.

All image sources must have the same size, otherwise an exception will be thrown when calling AlignAsync().

Any change to the Sources property will invalidate the alignment, and AlignAsync() must be called (again) before attempting to render an aligned source. Failing that an exception will be thrown during rendering.

Public property UseColorCorrection

If color correction should be used or not.

Default value is True.

See Also

ImageAligner Class

Lumia.Imaging.Transforms Namespace