public class Gabor extends LireWrapper {
public Gabor() {
super(new net.semanticmetadata.lire.imageanalysis.Gabor());
}
}
Hi Sacha,
The easiest way that comes to my mind is the following :
First extend the Gabor class from LIRE directly (let's call it MyGabor)
Then add a wrapper class same as the JFeatureLib-Gabor class that creates an instance of My Gabor. Just like in the code you mentioned.
That should work.
Good luck
Franz
--
Dr. Franz Graf
http://www.Locked.de
--
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.
To post to this group, send email to jfeat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public class GaborWrapper extends LireWrapper {
public GaborWrapper() {
super(new MyGabor());
}
}
The type LireWrapper is not visible
Hi Matt,
Oh LireWrapper is not public! Well, until I can fix that you have two options
A) the dirty one is to copy the code of my class
B) make a package hierarchy similar to JFeatureLib "de.lmu....." and place your wrapper in the same package (in your code base) as the original wrapper.
This way you soul be able to extend the package private LireWrapper.
Good luck
Franz
--
Dr. Franz Graf
http://www.Locked.de