Edge hash in SourceAFIS transparency data

SourceAFIS » Algorithm » Transparency » Edge hash

Edge hash, a part of algorithm transparency, is a search data structure created from minutiae of the probe fingerprint when matcher is instantiated. Edge hash stores and enables efficient search for edge shapes that can be constructed for any pair of reference and neighbor minutia. Edge shape, just like in edge table, is defined by edge length (distance between the two minutiae) and directions of the reference and neighbor minutiae relative to the edge.

Matcher uses edge hash to find matching edge shapes in probe fingerprint for randomly picked edge shapes in candidate fingerprint. When matching edge shape is found, it is used to select root where pairing starts. Offsets of reference and neighbor minutiae are stored together with the edge shape for this purpose.

Fast lookup is performed by splitting the three-dimensional edge shape space (length, reference angle, neighbor angle) into slots of equal size, mapping all probe shapes into these slots, and then looking up matches for candidate shapes in the appropriate slot. Probe edges are also mapped into several neighboring slots to provide some tolerance for fingerprint deformations. Slots are identified by a single number, kind of an edge hash code, that packs the three dimensions of slot position.

KeyMIMEFilename in ZIP
edge-hashapplication/cbor044-edge-hash.cbor

Visualization

Visualization of edge hash was constructed from this stage's binary data and shuffled minutiae with original fingerprint image in the background. Visualization itself is not part of transparency data.

Edge hash visualized as a set of lines connecting minutiae with line color indicating edge length and minutia angles
Every line represents an edge in the edge hash. Color hue is computed from angle between minutia and the edge. Every line has two colors, one for every minutia. Shorter edges are brighter. Overall edge color represents shape of the edge. Similar color means similar edge.

Format

Edge hash is a CBOR-encoded data structure consisting of a list of hash entries. Every entry has an integer key and edges list as its value. Every edge has the following fields:

Example: 044-edge-hash.cbor

[
  {
    "key": 0,
    "edges": [
      {
        "length": 24,
        "referenceAngle": 0.14888994760949736,
        "neighborAngle": 0.09966865249116186,
        "reference": 37,
        "neighbor": 38
      },
      {
        "length": 24,
        "referenceAngle": 0.09966865249116186,
        "neighborAngle": 0.14888994760949736,
        "reference": 38,
        "neighbor": 37
      }
    ]
  },
  {
    "key": 1,
    "edges": [
      {
        "length": 32,
        "referenceAngle": 0.014924264990084701,
        "neighborAngle": 0.014924264990085145,
        "reference": 13,
        "neighbor": 18
      },
      {
        "length": 32,
        "referenceAngle": 0.014924264990085145,
        "neighborAngle": 0.014924264990084701,
        "reference": 18,
        "neighbor": 13
      },
      {
        "length": 24,
        "referenceAngle": 0.14888994760949736,
        "neighborAngle": 0.09966865249116186,
        "reference": 37,
        "neighbor": 38
      },
      {
        "length": 24,
        "referenceAngle": 0.09966865249116186,
        "neighborAngle": 0.14888994760949736,
        "reference": 38,
        "neighbor": 37
      }
    ]
  },
  "... skipped 15,622 items ...",
  {
    "key": 589496333,
    "edges": [
      {
        "length": 180,
        "referenceAngle": 0.15725030744902568,
        "neighborAngle": 6.159597890007409,
        "reference": 10,
        "neighbor": 29
      },
      {
        "length": 180,
        "referenceAngle": 6.159597890007409,
        "neighborAngle": 0.15725030744902568,
        "reference": 29,
        "neighbor": 10
      }
    ]
  },
  {
    "key": 589496334,
    "edges": [
      {
        "length": 180,
        "referenceAngle": 0.15725030744902568,
        "neighborAngle": 6.159597890007409,
        "reference": 10,
        "neighbor": 29
      },
      {
        "length": 180,
        "referenceAngle": 6.159597890007409,
        "neighborAngle": 0.15725030744902568,
        "reference": 29,
        "neighbor": 10
      }
    ]
  }
]