[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-GIFT] Changing GIFT matching parameters
From: |
David Squire |
Subject: |
[help-GIFT] Changing GIFT matching parameters |
Date: |
Wed, 13 Sep 2006 18:10:09 +0100 |
User-agent: |
Thunderbird 1.5.0.5 (X11/20060725) |
Kamil Wencel wrote:
> 2. In order to change the way images are matched I have to fiddle
> around with the settings of Classical IDF.
> I think I have to tweak the settings in gift-config, right ? But where
> exactly shall I begin ? Wolfgang, you said
> something about a "configuring and hacking the gift" guide as a
> starting point. Where can we find it ?
>
Have a look at gift-config.mrml file. You can add new "algorithms" that
change the weighting of the four feature groups (local (blocks) and
global colour, and local and global texture). You do this by creating
sub-algorithms that block all put one of the feature groups, and give an
appropriate weight to the remaining feature group. For example:
<!-- ############################# a-dms3 ########################### -->
<!-- Another test algorithm -->
<!-- try one with no texture features -->
<algorithm algorithm-id="a-dms3" algorithm-type="a-dms3"
algorithm-name="Visual only, Only colour"
collection-id="c-12-12-11-12-6-101-4-192-0" cui-base-type="multiple">
<!-- sub-algorithm for colour histogram -->
<algorithm algorithm-id="sub-3-1" algorithm-type="sub-3-1"
algorithm-name="sub-3-1" cui-block-color-histogram="no"
cui-block-color-blocks="yes" cui-block-texture-histogram="yes"
cui-block-texture-blocks="yes" cui-pr-percentage-of-features="100"
cui-base-type="inverted_file" cui-weighting-function="ClassicalIDF"
cui-weight="0.5"/>
<!-- sub-algorithm for colour blocks -->
<algorithm algorithm-id="sub-3-2" algorithm-type="sub-3-2"
algorithm-name="sub-3-2" cui-block-color-histogram="yes"
cui-block-color-blocks="no" cui-block-texture-histogram="yes"
cui-block-texture-blocks="yes" cui-base-type="inverted_file"
cui-weighting-function="ClassicalIDF" cui-weight="0.5"/>
<!-- paradigm list - we place no restrictions at this time -->
<query-paradigm-list>
<query-paradigm/><!-- match anything -->
</query-paradigm-list>
</algorithm>
(Make sure you copy the collection-id from an algorithm in your existing
gift-config.mrml - though in fact I think this is actually ignored in
the present implementation)
It is a little unfortunate that the both noun and verb "block" are used
here with completely different senses, i.e.
cui-block-color-blocks="no"
means don't ("no") ignore ("block") local colour features ("color-blocks")
Regards,
David
--
Dr. David McG. Squire, Senior Lecturer. On sabbatical in 2006.
Caulfield School of Information Technology, Monash University, Australia
CRICOS Provider No. 00008C http://www.csse.monash.edu.au/~davids/
- Re: [help-GIFT] Adding and removing images to/from gift, (continued)
- Re: [help-GIFT] Adding and removing images to/from gift, Wolfgang Müller, 2006/09/13
- Client storing query state (was Re: [help-GIFT] Adding and removing images to/from gift), David Squire, 2006/09/13
- Re: Client storing query state (was Re: [help-GIFT] Adding and removing images to/from gift), Kamil Wencel, 2006/09/13
- Re: Client storing query state (was Re: [help-GIFT] Adding and removing images to/from gift), Jonas Lindqvist, 2006/09/13
- Re: Client storing query state (was Re: [help-GIFT] Adding and removing images to/from gift), Kamil Wencel, 2006/09/13
- Re: Client storing query state (was Re: [help-GIFT] Adding and removing images to/from gift), David Squire, 2006/09/13
- Re: Client storing query state (was Re: [help-GIFT] Adding and removing images to/from gift), Kamil Wencel, 2006/09/13
- [help-GIFT] Re: Client storing query state, David Squire, 2006/09/13
- [help-GIFT] Changing GIFT matching parameters,
David Squire <=
- Re: [help-GIFT] Changing GIFT matching parameters, Wolfgang Müller, 2006/09/13
- Re: [help-GIFT] Changing GIFT matching parameters, David Squire, 2006/09/13
- Re: [help-GIFT] Changing GIFT matching parameters, Wolfgang Müller, 2006/09/13