接口: FeatureMatchingOptions
2022/10/22约 185 字小于 1 分钟
image.FeatureMatchingOptions
特征匹配选项,继承自 DetectAndComputeFeaturesOptions,并添加了特征匹配相关的选项。
继承关系
DetectAndComputeFeaturesOptions↳
FeatureMatchingOptions
目录
属性
属性
matcher
• Optional matcher: FeatureMatcher
特征匹配器,用于匹配特征点。默认为 FeatureMatcher.FLANNBASED。
drawMatches
• Optional drawMatches: string
如果指定,会将匹配结果绘制到指定路径的图片文件中。用于调试和可视化匹配结果。
thredshold
• Optional thredshold: number
匹配阈值,范围 0-1。值越大,匹配要求越严格。
注意
此属性名可能有拼写错误(应为 threshold),但为了与 API 保持一致,使用 thredshold。
region
• region: Region
匹配区域。必须指定。
