ヒストグラムの作成方法


K=0.2) で設定された値を掛けます。その結果が White Gap の最大許容レベルになります (図では White Gap threshold) 。結果として得られた White Gap threshold が 0 より大きい場合、White Gap の領域内に他の objects が存在していてもかまいません。
White Gap threshold が計算されると、Lower threshold limit と Upper threshold limit に設定された値と比較されます。White Gap threshold < Lower threshold limit の場合、White Gap threshold には Lower threshold limit の値が設定され、その値が White Gap の検索に使用されます。White Gap threshold > Upper threshold limit の場合、White Gap threshold には Upper threshold limit の値が設定されます。
次に、ヒストグラム上の高さを White Gap threshold と比較し、ヒストグラムのレベルが White Gap threshold より小さい領域を探します。
Min width/height プロパティでは、White Gap の最小絶対幅を設定します。値が W2 の場合、他の 2 つの仮説は Discard されます。
White Gap 仮説には、次のプロパティがあります。
| Property | Description |
|---|---|
| Element name | 要素の完全名。 |
| Page | 要素が検出されたページ番号。 |
| Surrounding rect | 仮説の Region を囲む矩形の座標。 |
| Width | 仮説の Region の幅。 |
| Height | 仮説の Region の高さ。 |
| Orientation | 検出された White Gap の向き。 |
| Histogram maximum in search area | 検索領域 内におけるヒストグラムの最大値。 |
| White Gap threshold | プログラムが White Gap 仮説の生成を開始するヒストグラム上のしきい値。 |
| Histogram maximum within hypothesis | 仮説内におけるヒストグラムの最大値。 |
| Detected | 要素で記述された object が見つかったかどうか (true) 、またはヌル仮説が生成されたかどうか (false) を示します。 |
| From the best path | 見つかった仮説が仮説ツリー内の最適経路に属しているかどうか (true) 、または属していないかどうか (false) を示します。 |
| Pre-search quality | Properties ダイアログおよび Advanced pre-search relations のコード設定で指定された要素のプロパティに、仮説がどの程度適合しているか。 |
| Post-search quality | Advanced post-search relations フィールド内の条件が適用された後の仮説の品質。 |
| Chain quality | グループの最初のサブ要素から現在のサブ要素までの仮説チェーンの品質。チェーンの品質は、チェーン内のすべてのサブ要素の品質を掛け合わせて計算され、競合する仮説チェーンを比較するために使用されます。 |
