next up previous contents
Next: Matching Whole Strings Up: Stereo matching Previous: Stereo Index   Contents

Matching Sub Strings

See figure 4.

Matching is performed left to right. Sub-strings in the left image have an MLIST property which points to a list of matches within which they are included (always on the to1 field)

typedef struct match   /* a genericly defined matching structure */
    Ts_id ts_id;                /* Tina structure identifier */
    int type;
    int label;
    float weight;
    void *to1;
    void *to2;
    struct list *props;
} Match;

Hence individual edgels are not matches as such.

Following the application of a suitable stereo matching algorithm the match list for each edge string is reduced to correct matches only (possibly NULL).

root 2020-01-18