sig->reg[0].wa = wa;
sig->reg[0].wb = wb;
+ /* Store image dimensions */
+ sig->cols = data->image->cols;
+ sig->rows = data->image->rows;
+
/* Dump regions features */
#ifdef LOCAL_DEBUG
for (uns i = 0; i < sig->len; i++)
struct image_signature {
byte len; /* Number of regions */
byte flags; /* IMAGE_SIG_xxx */
+ u32 cols; /* Image width */
+ u32 rows; /* Image height */
u16 df; /* Average weighted f dist */
u16 dh; /* Average weighted h dist */
struct image_vector vec; /* Average features of all regions... simple signature */