Hi Ajay,
sorry that it currently takes me so long to respond.
the lire-implementation doesn't have a getData() method.
Usually getDoubleHistogram is called on the lire features.
You can see the example in LireWrapper.java.
Does this help you a bit further?
Franz
>
https://code.google.com/p/__lire/source/browse/trunk/src/__main/java/net/__semanticmetadata/lire/__imageanalysis/Gabor.java?r=15
> <
https://code.google.com/p/lire/source/browse/trunk/src/main/java/net/semanticmetadata/lire/imageanalysis/Gabor.java?r=15>
>
> Then you can call all the methods of this class directly before
> starting the extraction process.
> Unfortunately I dare say that the fields you want to modify might be
> private static final int S = 4, T = 4; // filter mask size
> private static final int M = 5, N = 6; // scale & orientation
> which are immuatbel in the Lire implementation :-(
>
> So the only way to get it to work for you would be to copy the
> Lire-Gabor class and make slight modifications so that you can set
> the according fields.
>
> Hope this helps,
> Franz
>
>
> Am 07.03.2014 16:47, schrieb Ajay:
>
> Hi,
>
> I want to extract features from an image for use in clustering.
> I am using the Gabor filter to extract features.
>
>
http://en.wikipedia.org/wiki/__Gabor_filter
> <
http://en.wikipedia.org/wiki/Gabor_filter>
> It says on Wikipedia that a Gabor filter could yield lot of
> features for
> analysis of images. How do I change the frequencies and
> orientations of
> the Gabor filter?
>
> ColorProcessor image = new ColorProcessor(ImageIO.read(__imgFile));
>
> Gabor descriptor = new Gabor();
> descriptor.run(image);
>
> List<double[]> featureList = descriptor.getFeatures();
> featuresLine = Arrays.toString(featureList.__get(0));
>
> Thanks.
>
> --
> 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+unsubscribe@__
googlegroups.com
> <mailto:
jfeaturelib%2Bunsu...@googlegroups.com>
> <mailto:
jfeaturelib+...@googlegroups.com
> <mailto:
jfeaturelib%2Bunsu...@googlegroups.com>>.
>
> To post to this group, send email to
>
jfeat...@googlegroups.com <mailto:
jfeat...@googlegroups.com>
> <mailto:
jfeaturelib@__
googlegroups.com
> <mailto:
jfeat...@googlegroups.com>>.
>
> For more options, visit
https://groups.google.com/d/__optout
> <
https://groups.google.com/d/optout>.
> G+:
https://plus.google.com/+__FranzGraf
> --
> 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
> <mailto:
jfeaturelib...@googlegroups.com>.
> <mailto:
jfeat...@googlegroups.com>.