Find sub image in a large image using JAVA and FAST algorithm

1,406 views
Skip to first unread message

Patric

unread,
May 24, 2013, 6:38:34 AM5/24/13
to jfeat...@googlegroups.com

I am very new to image processing and my requirement is to detect whether the given large image consist the given subimage (small image) using Java and FAST algorithm. jfeaturelib seems to support APIs for FAST algorithms and other descriptors etc.

Using the given examples at  https://github.com/locked-fg/JFeatureLib-Demo/tree/master/src/main/java/de/lmu/dbs/ifi/jfeaturelib/examples I could run the example on the 2 above images and get the features.

But as jfeaturelib documentation didn't provide sufficient information on usage of the API I feel helpless. It would be a great help if some one can guide me on how to use these set of APIs to achieve my requirement.

If some one can at-least tell me the major steps which are required to deal with this task.( That is getting the images features etc.)

Thanks.

Dr. Franz Graf

unread,
Jun 4, 2013, 12:56:39 PM6/4/13
to jfeat...@googlegroups.com
Hi Patric,

Sorry for the late answer. I was a bit busy with my wedding and subsequent honeymoon trip.
And well, currently my Internet connection at home is broken for at least the next 2 weeks.

Anyways: can you describe a bit more precisely how we can help you? I guess you have set up your IDE and project already?

Regards
Franz




Patric <allinallsolu...@gmail.com> schrieb:

Patric

unread,
Jun 5, 2013, 12:20:49 PM6/5/13
to jfeat...@googlegroups.com

Hi Franz, Congrats!!!!!!!!

Thank you for your response.
I was searching for a java API which I could use it to compare 2 images (a small image and a large image) and decide whether the small image is a part/subset of of the large image.
Here I also need to consider possible the scale and rotation of the small image hence after a small research I found I have to go for feature comparison. (I am very new to image processing and I don't know any steps which are required in the feature comparison.)

So I choose jFeatureLib for this task. But I got to know jfeaturelib is more into feature extraction not for the feature comparison.

So then I choose JAVACV for this and working with that. After some research and working with javacv I found that feature comparison 3 steps. Those are detection, extraction and finally the matching. (When I post this thread I know nothing)

……………………………….……………………………….……………………………….

As described above requirement is a very common one and I just wanted to know whether still jFeatureLib can be used to serve my purpose?

If yes, can you point out the classes and the steps to achieve it using jFeatureLib APIs?

Is jFeatureLib can be used with JAVACV?

Franz Graf

unread,
Jun 25, 2013, 3:59:07 PM6/25/13
to jfeat...@googlegroups.com
Hi Patric,

sorry, I got some problems w/ my internet.
I hope you're still giving JFeatureLib a chance.

You understood the problem and the aim of JFeaturelib very correctly.
Computer Vision in general is very often detecting / extracting and
comparing. JFeatureLib covers only the first two parts of the three issues.

This means by using the extractor described in
https://code.google.com/p/jfeaturelib/wiki/HowTo
you can extract multiple features for your images.
The matching then must be done in some other frameworks. JFeatureLib is
especially not trying to cover this issue as there are already quite
some frameworks. Starting from coding your own matching algorithm in the
programming language of your choice down to frameworks like WEKA,
RapidMiner, Elki etc.

I don't know how much JFeatureLib can be used together with JAVACV. From
my little knowledge, JAVACV covers more some algorithms. Yet I don't
know how well you can integrate feature that are extracted from
somewhere else ...

Regards
Franz

Am 05.06.2013 18:20, schrieb Patric:
> Hi Franz, Congrats!!!!!!!!
>
> Thank you for your response.
> I was searching for a java API which I could use it to compare 2 images
> (a small image and a large image) and decide whether the small image is
> a part/subset of of the large image.
> Here I also need to consider possible the scale and rotation of the
> small image hence after a small research I found I have to go for
> feature comparison. (I am very new to image processing and I don't know
> any steps which are required in the feature comparison.)
>
> So I choose jFeatureLib for this task. But I got to know jfeaturelib is
> more into feature extraction not for the feature comparison.
>
> So then I choose *JAVACV* for this and working with that. After some
> research and working with javacv I found that feature comparison 3
> steps. Those are detection, extraction and finally the matching. (When I
> post this thread I know nothing)
>
> ……………………………….……………………………….……………………………….
>
> As described above requirement is a very common one and I just wanted to
> know whether still jFeatureLib can be used to serve my purpose?
>
> If yes, can you point out the classes and the steps to achieve it using
> jFeatureLib APIs?
>
> Is *jFeatureLib* can be used with *JAVACV*?
>
>
>
>
> On Friday, May 24, 2013 4:38:34 PM UTC+6, Patric wrote:
>
> I am very new to image processing and my requirement is to detect
> whether the given large image consist the given subimage (small
> image) using Java and FAST algorithm. jfeaturelib seems to support
> APIs for FAST algorithms and other descriptors etc.
>
> Using the given examples at
> https://github.com/locked-fg/JFeatureLib-Demo/tree/master/src/main/java/de/lmu/dbs/ifi/jfeaturelib/examples
> <https://github.com/locked-fg/JFeatureLib-Demo/tree/master/src/main/java/de/lmu/dbs/ifi/jfeaturelib/examples>I
> could run the example on the 2 above images and get the features.
>
> But as jfeaturelib documentation didn't provide sufficient
> information on usage of the API I feel helpless. It would be a great
> help if some one can guide me on how to use these set of APIs to
> achieve my requirement.
>
> If some one can at-least tell me the major steps which are required
> to deal with this task.( That is getting the images features etc.)
>
> Thanks.
>
> --
> You are receiving this message because you are a member of the Google
> Group "JFeatureLib".
> To send a message to the group, please mail to jfeat...@googlegroups.com
> To leave the group, send an email to
> jfeaturelib...@googlegroups.com
> More options can be found at
> http://groups.google.com/group/jfeaturelib?hl=en
> ---
> You received this message because you are subscribed to the Google
> Groups "JFeatureLib" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jfeaturelib...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


--
Homepage: http://www.Locked.de
G+: https://plus.google.com/u/0/107945158062341260943

Reply all
Reply to author
Forward
0 new messages