GIST-Descriptor and BoW

1,543 views
Skip to first unread message

Dried Meat

unread,
Mar 2, 2014, 9:43:06 PM3/2/14
to jav...@googlegroups.com
Hello all,

So I decided to ask on the OpenCV forums and look around and I found out about the GIST-Descriptor which is a Global feature descriptor, which saves time from computing local descriptors.

Here is the info I have gathered thus far.

http://answers.opencv.org/question/29296/question-about-bag-of-words-detectors-and-such/

http://answers.opencv.org/question/8677/image-comparison-with-a-database/#8686

http://people.csail.mit.edu/torralba/code/spatialenvelope/

http://ilab.usc.edu/siagian/Research/Gist/Gist.html


Now I also found some implementations here http://www.cs.cornell.edu/~yuhsin/opencv-stuff/gist-classifier.cpp

and http://stackoverflow.com/questions/10051221/lear-gist-descriptor-c-code-used-with-c

I'm not really sure what to find in the second link, but the first link looks good.

So I'm curious, Samuel if you see this, I believe you mentioned you can convert C++ code to Java code with the JavaCPP?  So I can take full advantage of these goodies?

I need to read up more, but this is promising :).

Anyone with experience in this would be appreciated in some advice.

Samuel Audet

unread,
Mar 10, 2014, 9:15:43 AM3/10/14
to jav...@googlegroups.com
Hello,

On 03/03/2014 11:43 AM, Dried Meat wrote:
> Hello all,
>
> So I decided to ask on the OpenCV forums and look around and I found out
> about the GIST-Descriptor which is a Global feature descriptor, which
> saves time from computing local descriptors.
>
> Here is the info I have gathered thus far.
>
> http://answers.opencv.org/question/29296/question-about-bag-of-words-detectors-and-such/
>
> http://answers.opencv.org/question/8677/image-comparison-with-a-database/#8686
>
> http://people.csail.mit.edu/torralba/code/spatialenvelope/
>
> http://ilab.usc.edu/siagian/Research/Gist/Gist.html

Looks great :)

> Now I also found some implementations
> here http://www.cs.cornell.edu/~yuhsin/opencv-stuff/gist-classifier.cpp
>
> and http://stackoverflow.com/questions/10051221/lear-gist-descriptor-c-code-used-with-c
>
> I'm not really sure what to find in the second link, but the first link
> looks good.
>
> So I'm curious, Samuel if you see this, I believe you mentioned you can
> convert C++ code to Java code with the JavaCPP? So I can take full
> advantage of these goodies?

It won't convert automatically, but it will help sure. However since it
doesn't look like it's meant to be used as a library, I think you might
as well just copy/paste only the portions you need, and fix the "syntax
errors", to convert to Java, but then again it doesn't seem to come with
a license, so you should clear the copyright with the author first...

> I need to read up more, but this is promising :).
>
> Anyone with experience in this would be appreciated in some advice.

Persevere :)

Samuel

David Han

unread,
Mar 10, 2014, 8:50:53 PM3/10/14
to jav...@googlegroups.com
Hi Samuel,
I found this constructor which is not using the parameter audioChannels. I think this is a bug. What do you think?

public FFmpegFrameRecorder(File file, int imageWidth, int imageHeight, int audioChannels) {
this(file.getAbsolutePath(), imageWidth, imageHeight);
}

Thanks.
David Han

Samuel Audet

unread,
Mar 11, 2014, 8:46:57 AM3/11/14
to jav...@googlegroups.com
Hi,

Yes, this is obviously a bug :) Thanks for reporting! Will fix

Samuel
Reply all
Reply to author
Forward
0 new messages