Hello,
I acquire RGB images on which I must substract those pixels with RGB values greater than (240,225,185).for example, ("background") and set them to (0,0,0) BUT leave other pixels (with my information) alone. I guess I could write a macro, but was wondering if someone (most likely) has done this already. I also want to increase the intensity of the dimmer untouched pixels (intensify the low intensity pixels) in some non-linear fashion, maybe log scale. Any feedback welcomed. Thanks, Bill |
Hi Bill,
it would be pretty easy to write a simple macro to do this, I do not know of a ready-to-run plugin that does this. however, if you want to avoid macro programming, you might want to take a look at the Expression(NT) plugin that - it seems - would only require you to define some simple formulas to describe your task, and, as the result is compiled into "native" Java code, it should run pretty fast if you want to use it on a larger # of images: http://www.ulfdittmer.com/imagej/expression.html Joachim Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht Wetzlar HRB 2432 Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy Martyr | Colin Davis www.leica-microsystems.com "Rothman, William" <WRothman@NYBLOOD An CENTER.ORG> [hidden email] Gesendet von: Kopie ImageJ Interest Group Thema <[hidden email]. backgrounds GOV> 09.11.2009 20:31 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Hello, I acquire RGB images on which I must substract those pixels with RGB values greater than (240,225,185).for example, ("background") and set them to (0,0,0) BUT leave other pixels (with my information) alone. I guess I could write a macro, but was wondering if someone (most likely) has done this already. I also want to increase the intensity of the dimmer untouched pixels (intensify the low intensity pixels) in some non-linear fashion, maybe log scale. Any feedback welcomed. Thanks, Bill ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
In reply to this post by Bill Rothman
Bill,
I think landini's threshold color plugin will solve your first problem. Select RGB mode, the set each band to "stop". This trhresholds out eveything above a level. You do this for each band. Landini's plugin's can be found via ImageJ's web page Plugins/Links to External Sites/Gabriel Landini. David Webster On Mon, Nov 9, 2009 at 11:31 AM, Rothman, William < [hidden email]> wrote: > Hello, > > I acquire RGB images on which I must substract those pixels with RGB > values greater than (240,225,185).for example, ("background") and set > them to (0,0,0) BUT leave other pixels (with my information) alone. I > guess I could write a macro, but was wondering if someone (most likely) > has done this already. > > I also want to increase the intensity of the dimmer untouched pixels > (intensify the low intensity pixels) in some non-linear fashion, maybe > log scale. > > Any feedback welcomed. > > Thanks, > Bill > |
Free forum by Nabble | Edit this page |