From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86954 invoked by alias); 21 Jan 2018 08:59:46 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 8929 invoked by uid 89); 21 Jan 2018 08:59:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*F:D*be, images X-HELO: maximusconfessor.all2all.org Received: from maximusconfessor.all2all.org (HELO maximusconfessor.all2all.org) (79.99.200.102) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 Jan 2018 08:59:10 +0000 Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 90919A04C10E; Sun, 21 Jan 2018 09:59:08 +0100 (CET) Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id oYyQKL0oDWMS; Sun, 21 Jan 2018 09:59:04 +0100 (CET) Received: from capac (unknown [179.210.16.41]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id BA4FDA04C114; Sun, 21 Jan 2018 09:59:03 +0100 (CET) Date: Sun, 21 Jan 2018 08:59:00 -0000 From: David Pirotte To: Per Bothner Cc: kawa Subject: Re: ImagJ/Fiji 'binding' wrong number of args - help welcome Message-ID: <20180121065856.51dcae4b@capac> In-Reply-To: <39453e2b-700e-385c-88a5-164c58a6a1a8@bothner.com> References: <20180120225959.315c0608@capac> <39453e2b-700e-385c-88a5-164c58a6a1a8@bothner.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/TD82h86/9ju6.X/Xfp69Sps"; protocol="application/pgp-signature" X-IsSubscribed: yes X-SW-Source: 2018-q1/txt/msg00018.txt.bz2 --Sig_/TD82h86/9ju6.X/Xfp69Sps Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-length: 840 Hello Per, > > kawa -Dplugins.dir=3D/usr/lpdi/projects/kawa/jars > > #|kawa:1|# (import (ij-core) > > (ij-local-thickness)) > > #|.....2|# #|kawa:3|# (define iplus1 (ij-open "images/camada-mapa.pn= g")) > > #|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) ... > >=20 > > What am I doing wrong?=20=20 >=20 > processImage is a non-static method, so it needs two arguments: > The implicit 'this' argument, plus the inputImage argument. >=20 But what is 'this' argument, how do I 'grab it' from imagej/fiji plugin? thanks, David --Sig_/TD82h86/9ju6.X/Xfp69Sps Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature Content-length: 488 -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlpkVlAACgkQ83T9k6MF etefcQf/XBhNFgmJu0cAIyRE6IL6uHLd3HZBlwZBe1iEeixN8K91kvFhqXCa7qWs al1YcRhl6+TaIMBmI2LEIevfhXqZtXEVyDAjCCW0NDYAVjMcZ9+JvbYCNhZLj/ET z4UdhE2dcS2s76Dqva/D4jVJBXOFCf5QB6t3/oQxSrBjJPYeHUeu3jWpySjsXLml xSuw7psHmE1iOnTPL+59b0X3RBOLEWnx3YOR7gVX03pOSLUtnYsWjFe3mn16prQC 99TyYqX4qDKeJ8Bzd0O8G3hREiC9u/bM/zM20J+Yxy3iSpAGYrmWF87K9AP8Q8gJ +Q/IbfZp5nGvxD8ZqsRhll3Q/1Ef6g== =2saY -----END PGP SIGNATURE----- --Sig_/TD82h86/9ju6.X/Xfp69Sps--