setInterpolationMethod(int)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

setInterpolationMethod(int)

Tony Shepherd
The method setInterpolationMethod(int method) is not found by the compiler.
It should be in ij.process.ImageProcessor.class

Looking at the source code the method is there right after
setInterpolate(boolean interpolate).

The compiler finds this older method but not the new one so it could be a
version issue. I'm using ImageJ 1.41, which I recently downloaded bundled
with java.

Any ideas?

Tony
Reply | Threaded
Open this post in threaded view
|

Re: setInterpolationMethod(int)

dscho
Hi,

On Thu, 30 Apr 2009, Tony Shepherd wrote:

> The method setInterpolationMethod(int method) is not found by the
> compiler. It should be in ij.process.ImageProcessor.class
>
> Looking at the source code the method is there right after
> setInterpolate(boolean interpolate).

Where exactly did you look for this method?

> The compiler finds this older method but not the new one so it could be
> a version issue. I'm using ImageJ 1.41, which I recently downloaded
> bundled with java.

Obviously not in the version you are _using_: the method was added in
1.42l.

Ciao,
Dscho
Reply | Threaded
Open this post in threaded view
|

Re: setInterpolationMethod(int)

Michael Schmid
In reply to this post by Tony Shepherd
Hi Tony,

you have to upgrade to the latest version; this is a feature that was  
introduced only recently.

Plugins>Utilities>Update ImageJ

The packages on the download site are not rebuilt with every minor  
version update.

Michael
________________________________________________________________

On 30 Apr 2009, at 11:11, Tony Shepherd wrote:

> The method setInterpolationMethod(int method) is not found by the  
> compiler.
> It should be in ij.process.ImageProcessor.class
>
> Looking at the source code the method is there right after
> setInterpolate(boolean interpolate).
>
> The compiler finds this older method but not the new one so it  
> could be a
> version issue. I'm using ImageJ 1.41, which I recently downloaded  
> bundled
> with java.
>
> Any ideas?
>
> Tony
Reply | Threaded
Open this post in threaded view
|

Re: setInterpolationMethod(int)

Tony Shepherd
In reply to this post by Tony Shepherd
Thanks for the replois
I found the method in the source code file that came with the download
source/ij/process/ImageProcessor.java

If the source code is newer than the binary I'll download the latest
package.