额外继承的成员函数 | |
Public 成员函数 继承自 ILEdgeGauge | |
| LPVErrorCode | Detect1 (ILImage *img, ILRotRectRegion *region, ILEdgeGaugeResult **gaugeResult) |
| LPVErrorCode | Detect2 (ILImage *img, ILRotRectRegion *region, ILEdgeGaugeResult **gaugeResult) |
Public 成员函数 继承自 ILObject | |
| ILObject * | Copy () |
| LPVErrorCode | Load (LString filename) |
| void | Reset () |
| LPVErrorCode | Save (LString filename) |
| BOOL | Valid () |
属性 继承自 ILEdgeGauge | |
| double | Distance [get, set] |
| 双边缘检测中,当 SortBy 启用 LPVGaugeFeaturePosition 时生效,指定期望的边缘对距离。 | |
| double | DistanceTolerance [get, set] |
| 双边缘检测中,当 SortBy 启用 LPVGaugeFeaturePosition 时生效,指定真实边缘距离与期望的差异容差百分数。 | |
| int | MaxCount [get, set] |
| 最大检出个数。修改该数值将影响 MaxSamplePointCount | |
| LPVPolarity | Polarity2 [get, set] |
| 双边缘检测中,边缘对中第二条边的检测极性,目标或者边缘极性均可接受。 | |
属性 继承自 ILGauge | |
| int | AcceptScore [get, set] |
| 检测的分数阈值。用于删选所有结果中高于该阈值的作为有效卡点。可根据分数图表选择合适的阈值。 更多... | |
| int | KernelSize [get, set] |
| 梯度滤波时滤波核的尺寸,在检测边缘时使用,需要是一个 ≥ 3 的奇数,如 3, 5, 7 等。 | |
| int | MaxSamplePointCount [get, set] |
| 单个卡点采样区域的最大卡点检出个数 | |
| BOOL | NormScore [get, set] |
| 是否基于区域中的最大梯度值或最大灰度值归一化分数。 | |
| LPVPolarity | Polarity [get, set] |
| 检测的极性,目标或者边缘极性均可接受 | |
| LPVGaugeFeatures | SortBy [get, set] |
| 如何排序候选卡点。若检测区域中有多于设定的卡点,需将候选卡点排序并取其前若干个作为结果。 更多... | |
| LPVFindBy | SortByPosition [get, set] |
| 当 SortBy 启用 LPVGaugeFeaturePosition 时生效, 倾向于挑选位于卡点采样区域的最前、最后或中部的卡点 更多... | |
| BOOL | SortByScoreDescending [get, set] |
| 当 SortBy 启用 LPVGaugeFeatureScore 时生效。 True 表示在分数上降序排序候选卡点(数值从大到小排序,即倾向于挑选梯度或灰度强度最大的卡点),False 表示升序。 更多... | |
该类实现了 ILEdgeGauge 接口,用于创建边缘卡尺检测工具的实例。