From ea6f0ecd90685804cda5437a1f901758ae91da07 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Fri, 8 Sep 2006 15:29:44 +0200 Subject: [PATCH] testing textured vs nontextured classification --- images/sig-cmp-gen.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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:"); -- 2.39.2