模板匹配参数的名称
在我的模板匹配代码中,我需要用户传递一个浮点参数,该参数指定算法是否应该只专注于最佳匹配(从而工作得更快),或者甚至分析低概率区域(使其更慢)。
该参数是线性的并且被归一化,使得可能的值在范围<0,1>内。随着参数的增长,结果匹配的数量增加还是减少并不重要,因为这可以很容易地改变。默认值在0.5左右;当值位于范围的一端时,算法可能应该只返回一个匹配项(并且工作速度很快);而另一端则意味着大量可能的匹配和较长的处理时间。
我应该为此参数选择什么名称,以便对最终用户有意义?我一直在考虑 MatchingQuality 或 MatchingDepth 但似乎都不合适且不言自明。
In my template-matching code I need the user to pass a floating-point parameter, which specifies whether the algorithm should concentrate only on the best matches (thus work faster) or analyse even low-probability areas (making it slower).
The parameter is linear and normalized such that possible values are in range <0, 1>. It doesn't matter whether the number of resulting matches increases or decreases as the parameter grows, as this can be easily changed. The default value is around 0.5; when the value is on one end of the range, the algorithm should possibly return only one match (and work fast); whereas the other end should mean lots of possible matches and long processing time.
What name should I choose for this parameter such that it makes sense to the end-user? I've been thinking about MatchingQuality or MatchingDepth but neither seems appropriate and self-explanatory.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我可能会将其称为
matchingAccuracy
、matchingPrecision
或类似的名称。I would probably call it
matchingAccuracy
,matchingPrecision
or something like that.匹配阈值系数怎么样?
How about MatchThresholdCoefficient?