Re: Fire-cbir

71 views
Skip to first unread message

Thomas Deselaers

unread,
May 2, 2013, 2:53:38 AM5/2/13
to Aymen Loukil, fire-cbir
Hi Aymen,

[there is a FIRE mailinglist, which I added to the reply. Please use this mailinglist for any further questions or I may not respond to it].

Sounds like your image is stored in a format that the FIRE jpeg reading routines don't understand. 
Maybe you could try to convert it to another color space and retry?
The imagemagick tools should allow for a very easy conversion.

Cheers,
thomas




On Wed, May 1, 2013 at 8:49 PM, Aymen Loukil <aymen....@gmail.com> wrote:
Hello Thomas,

I'm working on images indexing and retrieving on similarity based search. I've tried to install  the Flexible Image Retrieval Engine on an ubuntu machine (https://code.google.com/p/fire-cbir/).

When i tried to do the histogram color extraction, it gave this error : 

(10) [FeatureExtractors/extractcolorhistogram.cpp:93:main] Processing '/home/loukil/images/143_0071.jpg' (1/101). [Features/imagefeature.cpp:136:load] ERROR: Unknown color space13

Could you please help me ?

Thank you in advance

Regards 
Aymen



--
http://thomas.deselaers.de

YOUSSEF BOURASS

unread,
May 27, 2013, 11:03:18 AM5/27/13
to fire...@googlegroups.com, Aymen Loukil

Hi,
I had the same problem as you, I replaced : in    Features/imagefeature.cpp:136:

if(loaded.colorSpace()==RGBColorspace && !forceGray) {
    zsize_=3;
    DBG(30) << "found image in RGB" << endl;
  } else if ( loaded.colorSpace()==GRAYColorspace || forceGray) {
    DBG(30) << "found image in gray" << endl;
    zsize_=1;
  } else {


    ERR << "Unknown color space" << loaded.colorSpace() << endl; return false;


by

  zsize_=3;
  DBG(30) << "found image in RGB" << endl;


I forced to choose three, I had a correct histogram.

Youssef.

Reply all
Reply to author
Forward
0 new messages