HomographyRansacOptions Class
Immutable options of ProjectiveTransform.EstimateHomographyRobust.
public sealed class HomographyRansacOptionsConstructors
| Name | Description |
|---|---|
| HomographyRansacOptions() |
HomographyRansacOptions()
HomographyRansacOptions.cspublic HomographyRansacOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Default | Gets the default options: a threshold of 3 pixels, 1,000 samples and the seed 0. |
| Iterations | Gets the number of random samples of four correspondences, from 1 to 1,000,000. Defaults to 1,000, enough to find a sample without outliers with a probability of 99.9% when up to about 60% of the correspondences are outliers. |
| Seed | Gets the seed of the random samples: the same seed gives the same result on every platform. Defaults to 0. |
| Threshold | Gets the largest distance, in the units of the destination points (pixels), between a destination point and the image of its source point for the correspondence to be an inlier, greater than 0. Defaults to 3. |
Default
HomographyRansacOptions.csGets the default options: a threshold of 3 pixels, 1,000 samples and the seed 0.
public static HomographyRansacOptions Default { get; }Property value
Iterations
HomographyRansacOptions.csGets the number of random samples of four correspondences, from 1 to 1,000,000. Defaults to 1,000, enough to find a sample without outliers with a probability of 99.9% when up to about 60% of the correspondences are outliers.
public int Iterations { get; init; }Threshold
HomographyRansacOptions.csGets the largest distance, in the units of the destination points (pixels), between a destination point and the image of its source point for the correspondence to be an inlier, greater than 0. Defaults to 3.
public double Threshold { get; init; }