From: Pavel Charvat Date: Fri, 8 Sep 2006 13:29:44 +0000 (+0200) Subject: testing textured vs nontextured classification X-Git-Tag: holmes-import~567 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ea6f0ecd90685804cda5437a1f901758ae91da07;p=libucw.git testing textured vs nontextured classification --- diff --git a/images/sig-cmp-gen.h b/images/sig-cmp-gen.h index ef6d2446..c6b80195 100644 --- a/images/sig-cmp-gen.h +++ b/images/sig-cmp-gen.h @@ -50,6 +50,14 @@ image_signatures_dist_2_explain(struct image_signature *sig1, struct image_signa explain_signature(sig2, msg, param); #endif + /* FIXME: do not mux textured and non-textured images (should be split in clusters tree) */ + if ((sig1->flags ^ sig2->flags) & IMAGE_SIG_TEXTURED) + { + MSG("Textured vs non-textured"); + LINE; + return ~0U; + } + /* Compute distance matrix */ n = 0; MSG("Distance matrix:");