![]() | ![]() |
![]() |
Previous Message |
Next Message Previous in Topic | Next in Topic Previous by Same Author | Next by Same Author Previous Page (May 2002) | Back to Main IMAGEJ Page | | ![]()
Reply
| Post a New Message |
Join or Leave IMAGEJ, or Change Options
|
Search | ![]()
Chronologically |
Most Recent First |
Wrap Text (Proportional Font) |
Don't Wrap Text (Non-proportional Font) | ![]() |
Content-Type: text/plain; charset="US-ASCII" Importance: Normal Message-ID: <[log in to unmask]> Date: Thu, 16 May 2002 15:01:56 -0400 Reply-To: ImageJ Interest Group <[log in to unmask]> Sender: ImageJ Interest Group <[log in to unmask]> From: Kurt De Vos <[log in to unmask]> Subject: Re: Threshold... In-Reply-To: <[log in to unmask]>Ip.run(String)is not a valid method. IJ.run(String)on the other hand is. IJ.run("Threshold","Stack"); should do the trick Kurt > -----Original Message----- > From: ImageJ Interest Group [mailto:[log in to unmask]] On > Behalf Of Rachel Bearon > Sent: May 16, 2002 14:34 > To: [log in to unmask] > Subject: Re: Threshold... > > > On Wed, 15 May 2002 07:25:39 -0700, Bob Dougherty > <[log in to unmask]> > wrote: > > >Gary, > > > >It looks like > > > >ip.setThreshold(double minThreshold, double maxThreshold, int > >lutUpdate) > > > >where ip is your image's processor and lutUpdate is > >ImageProcessor.BLACK_AND_WHITE_LUT > > > > I'm a newbie to ImageJ, and found this advice very helpful. > However, when I tried to run ParticleAnalyser on the stack, I > got the error that the stack needed to be thresholded. In the > previous mail from Wayne on this thread, he suggested running > > >IJ.setThreshold(minThreshold, maxThreshold); IJ.run("Threshold"); > > on version 1.28e or later. However I could only download > version 1.28d from the ImageJ website. To try and fudge a > solution, I tried putting the following in my plugin: > ip.setThreshold(minThreshold, maxThreshold, lutUpdate ); > ip.run("Threshold"); > > but got the following error > Method run(java.lang.String) not found in class > ij.process.ImageProcessor. > > Thanks, Rachel >
![]() |
![]() Center for Information Technology National Institutes of Health Bethesda, Maryland 20892 301 594 6248 (v) 301 496 8294 (TDD) Comments and Assistance Accessibility ![]() |