This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ImagJ/Fiji 'binding' wrong number of args - help welcome


Hello Per,

> >    kawa -Dplugins.dir=/usr/lpdi/projects/kawa/jars
> >    #|kawa:1|# (import (ij-core)
> >            (ij-local-thickness))
> >    #|.....2|# #|kawa:3|# (define iplus1 (ij-open "images/camada-mapa.png"))
> >    #|kawa:4|# (ij-local-thickness iplus1)
> >    gnu.mapping.WrongArguments: call to
> > 'sc.fiji.localThickness.LocalThicknessWrapper.processImage(ij.ImagePlus)' has
> > too few arguments (1; must be 2) at
> > gnu.mapping.CallContext.matchError(CallContext.java:150) at
> > gnu.expr.PrimProcedure.applyToConsumerX(PrimProcedure.java:196) ...
> > 
> > What am I doing wrong?  
> 
> processImage is a non-static method, so it needs two arguments:
> The implicit 'this' argument, plus the inputImage argument.
> 

But what is 'this' argument, how do I 'grab it' from imagej/fiji plugin?

thanks,
David

Attachment: pgpubik1gR0EC.pgp
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]