Go to the source code of this file.
#define BLOB_MATCHING_ON |
Definition at line 24 of file blobcmpl.h.
Compare 2 blobs and return the rating.
Definition at line 57 of file paircmp.cpp.
References PBLOB::baseline_normalise(), and compare_bln_blobs().
Referenced by compare_blob_pairs(), and find_repeated_chars().
00061 { 00062 PBLOB *bn_blob1; //baseline norm 00063 PBLOB *bn_blob2; 00064 DENORM denorm1, denorm2; 00065 float rating; //match result 00066 00067 bn_blob1 = blob1->baseline_normalise (row1, &denorm1); 00068 bn_blob2 = blob2->baseline_normalise (row2, &denorm2); 00069 rating = compare_bln_blobs (bn_blob1, &denorm1, bn_blob2, &denorm2); 00070 delete bn_blob1; 00071 delete bn_blob2; 00072 return rating; 00073 }