Posted by
Frederic V. Hessman on
URL: http://imagej.273.s1.nabble.com/Strange-ClassCastException-A-puzzle-for-Java-ImageJ-experts-to-help-me-wit-tp3692688p3692700.html
I naively wanted to use the drawing tools to fill in the value of a
masked region of a 32-bit image: select the value using the picker,
fill in the area with the fill bucket.
When I tried it, I realized my naivite: the picker is a ColorPicker
and only sees the look-up-table values, so the REAL values can't be
picked and filled, at least not for non-color images.
Of course, there are more difficult ways around this problem - create
a mask, manipulate the mask, apply the manipulated mask - but it seems
like the straight-forward way of doing it should work.
Before I attempt to modify ColorPicker and Toolbar, I thought I'd ask
for simpler solutions I haven't thought about.
No, please don't send me a macro - I know one can do it using a dozen
lines of ImageJ code. The point is that simple standard things
shouldn't require an extra macro
Rick
------------------------------------------------------------------------------------------------
Dr. Frederic V. Hessman
[hidden email]
Institut für Astrophysik Tel. +49-551-39-5052
Friedrich-Hund-Platz 1 Fax +49-551-39-5043
37077 Goettingen Room F04-133
http://www.Astro.physik.Uni-Goettingen.de/~hessman-------------------------------------------------------------------------------------------------
MONET: a MOnitoring NEtwork of Telescopes
http://monet.Uni-Goettingen.de-------------------------------------------------------------------------------------------------