Class AlignMTB
This algorithm converts images to median threshold bitmaps (1 for pixels brighter than median luminance and 0 otherwise) and than aligns the resulting bitmaps using bit operations.
public class AlignMTB : AlignExposures, IDisposable
- Inheritance
-
AlignMTB
- Implements
- Inherited Members
Constructors
AlignMTB(int, int, bool)
Create an AlignMTB object
public AlignMTB(int maxBits = 6, int excludeRange = 4, bool cut = true)
Parameters
maxBits
intlogarithm to the base 2 of maximal shift in each dimension. Values of 5 and 6 are usually good enough (31 and 63 pixels shift respectively).
excludeRange
intrange for exclusion bitmap that is constructed to suppress noise around the median value.
cut
boolif true cuts images, otherwise fills the new regions with zeros.
Methods
DisposeObject()
Release the unmanaged memory associated with this AlignMTB object
protected override void DisposeObject()