Create a non linear transformation that - approximately - matches the
set of originalPixels to the set of
transformedPixels.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static NonLinearTransformation FromPositionLists<T>( ICollection<T> originalPixels, ICollection<T> transformedPixels, int order, NonLinearTransformationCreationProgress progressDelegate, out double quality ) where T : IPosition
Parameters
- originalPixels
- Type: System.Collections.GenericICollectionT
Originial pixel locations.
The pixels as measured from an image.
- transformedPixels
- Type: System.Collections.GenericICollectionT
Transformed pixels.
The locations the corresponding pixels from originalPixels should ideally have.
- order
- Type: SystemInt32
Polynomial order of the transformation to be generated. - progressDelegate
- Type: Stemmer.Cvb.FoundationNonLinearTransformationCreationProgress
Delegate to be used for passing progress information back to the caller. - quality
- Type: SystemDouble
Quality feedback.
Derived by correlating the application of the resulting transformation to the set of originalPixels to the set of transformedPixels.
Type Parameters
- T
- Type of the defining pixel information. May be any type derived from the IPosition interface, i.e. search or blob results are directly eligible.
Return Value
Type: NonLinearTransformationTransformation object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If originalPixels or transformedPixels are null. |
See Also