NIH LISTSERV
NIH LISTSERV
IMAGEJ archives -- December 2007 (#35)

Go to: Previous Message | Next Message
Previous in Topic | Next in Topic
Previous by Same Author | Next by Same Author
Previous Page (December 2007) | Back to Main IMAGEJ Page


Options: Reply | Post a New Message | Join or Leave IMAGEJ, or Change Options | Search
View: Chronologically | Most Recent First | Wrap Text (Proportional Font) | Don't Wrap Text (Non-proportional Font)
*

Approved-By: [log in to unmask]
References: <[log in to unmask]>
            <[log in to unmask]>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID:  <[log in to unmask]>
Date:         Tue, 4 Dec 2007 13:42:00 +0000
Reply-To:     ImageJ Interest Group <[log in to unmask]>
Sender:       ImageJ Interest Group <[log in to unmask]>
From:         Johannes Schindelin <[log in to unmask]>
Subject:      Re: Counting pixels above a certain grey value in a stack
Comments: To: Bio7 <[log in to unmask]>
In-Reply-To:  <[log in to unmask]>

Hi, On Tue, 4 Dec 2007, Bio7 wrote: > public class Count_Stack_Pixels implements PlugIn { If you implement a PlugInFilter (which returns DOES_8G | DOES_16 | NO_CHANGES in setup()) you do not need to find out the current image or check the image type yourself. > /*We create a dialog!*/ > GenericDialog gd = new GenericDialog("Count Pixels"); > gd.addNumericField("Min: ", min, 0); > gd.addNumericField("Max: ", max, 0); You could reuse the min/max setting from the threshold. Ciao, Dscho




Back to: Top of message | Previous page | Main IMAGEJ page

NIH LISTSERV Home Page

CIT
Center for Information Technology
National Institutes of Health
Bethesda, Maryland 20892
301 594 6248 (v) 301 496 8294 (TDD)
Comments and Assistance
Accessibility wheelchair icon