Interface DrawMatchesOptions

interface DrawMatchesOptions {
    circleDiameter?: number;
    color?: number[];
    maxNbMatches?: number;
    showDistance?: boolean;
    showDistanceOptions?: GetColorsOptions;
}

Properties

circleDiameter?: number

Circles diameter in pixels.

Default

10

color?: number[]

Annotations color.

Default

[255,0,0]

maxNbMatches?: number

Maximal number of keypoints with best score to draw.

Default

matches.length

showDistance?: boolean

Whether the matches should be colored depending on the distance.

Default

false

showDistanceOptions?: GetColorsOptions

Options for the coloring of the matches depending on their distance (useful if showDistance = true).