Need 32 bit Int greyscale image

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

Need 32 bit Int greyscale image

rfwojcik
I need to work with 32bit Integer greyscale images with a plugin.  Float doesn't work because I can't get the exact value of the pixel - it is only good to +/-1 with large integers.  The RGB basically works but I can't easily see the value of the pixel when I put the cursors on it - it only gives the RGB values (plus the color information makes the image hard to see).  
So I need to extend ImageProcessor to do the same things ShortProcessor does but on 32 bit Integers.  
Can anyone point me in the direction of how to do that?  Or, if it has already been done, to get the code?

Thanks,
Randy Wojcik
Reply | Threaded
Open this post in threaded view
|

Re: Need 32 bit Int greyscale image

Barry DeZonia
Hi Randy,

Writing your own 32-bit int ImageProcessor is not simple and it is not the
whole battle. There are many places in ImageJ's codebase that assume there
are only the currently existing ImageProcessor types. So your plugin would
need to avoid many ImageJ calls to behave correctly.

Soon ImageJ2 (http://developer.imagej.net/) will be released in beta form
and it can handle 32-bit integer data natively. It can run ImageJ1 plugins.
Maybe you'd like to be one of the early testers.

On Wed, Apr 4, 2012 at 3:25 PM, rfwojcik <[hidden email]> wrote:

> I need to work with 32bit Integer greyscale images with a plugin.  Float
> doesn't work because I can't get the exact value of the pixel - it is only
> good to +/-1 with large integers.  The RGB basically works but I can't
> easily see the value of the pixel when I put the cursors on it - it only
> gives the RGB values (plus the color information makes the image hard to
> see).
> So I need to extend ImageProcessor to do the same things ShortProcessor
> does
> but on 32 bit Integers.
> Can anyone point me in the direction of how to do that?  Or, if it has
> already been done, to get the code?
>
> Thanks,
> Randy Wojcik
>
>
> --
> View this message in context:
> http://imagej.1557.n6.nabble.com/Need-32-bit-Int-greyscale-image-tp4687676p4687676.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Need 32 bit Int greyscale image

rfwojcik
Hi Barry,

    Thanks for the information.  Yes, I would like to be an early tester on that.  

Cheers,

Randy