RGB merge

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

RGB merge

Colin Sturm
Does anyone know why the built in RGB merge works fine with my 16-bit
images.  However, the plugin from the ImageJ site
(http://rsb.info.nih.gov/ij/plugins/rgb-merge.html) after compiled and
run is limited to 8-bit images?

I need to alter the RGB merge which is why I am using the java file.

Thanks
Colin
Reply | Threaded
Open this post in threaded view
|

Re: RGB merge

Wayne Rasband
> Does anyone know why the built in RGB merge works fine with my 16-bit
> images.  However, the plugin from the ImageJ site
> (http://rsb.info.nih.gov/ij/plugins/rgb-merge.html) after compiled and
> run is limited to 8-bit images?
>
> I need to alter the RGB merge which is why I am using the java file.

It did not work with 16-bit images because it was an older version of
the plugin. What you can do is download the ImageJ source code and
convert the internal plugin that implements Image>Color>RGB into a user
plugin. Download the ImageJ source from
<http://rsb.info.nih.gov/ij/download/src/>, copy the file
source/ij/plugin/RGBStackMerge.java to the plugins folder, rename it
RGB_Stack_Merge.java, change the class name from "RGBStackMerge" to
"RGB_Stack_Merge", and change "package ij.plugin;" to "import
ij.plugin.*;". You can use Plugins>Utilities>List Commands to find out
how commands are associated with internal plugins.

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: RGB merge

Bill Christens-Barry
In reply to this post by Colin Sturm
On the subject of merging images to form an RGB, I'm looking for a means to combine three 16-bit
monochrome images into an RGB image that retains 16-bits per channel (not surrently supported in
ImageJ if I understand correctly).

Can anyone suggest a way? Currently, I'm exploring ImageMagick, but am having some libtiff
installation issues on my Intel Mac.

Thanks.

Bill Christens-Barry
Reply | Threaded
Open this post in threaded view
|

Re: RGB merge

Jonathan Hilmer
You can use ImageJ to export a RGB as a three-layer grayscale stack in
a RAW format, followed by import as a RGB RAW in other software.  It's
not very convenient, but it works.

Jonathan


On 3/21/07, Bill Christens-Barry <[hidden email]> wrote:

> On the subject of merging images to form an RGB, I'm looking for a means to combine three 16-bit
> monochrome images into an RGB image that retains 16-bits per channel (not surrently supported in
> ImageJ if I understand correctly).
>
> Can anyone suggest a way? Currently, I'm exploring ImageMagick, but am having some libtiff
> installation issues on my Intel Mac.
>
> Thanks.
>
> Bill Christens-Barry
Reply | Threaded
Open this post in threaded view
|

Re: RGB merge

Harry Parker
In reply to this post by Colin Sturm
Hi Bill,

I looked into software for doing this and making high dynamic range (HDR) images out of them, about 18 months ago.

As Jonathan mentioned, ImageJ can create a 16 bit per channel RGB stack from R, G, and B images and save that as a 48 bit /pixel TIFF file.

ImageJ is the best software I've found for analyzing images, but others do a better job at manipulating color images.

Here is a list of software I've read about that can read that image and do something with it. I've only listed software that works on Mac OS X (but they mostly work on Windows & other Unix OS's as well):

Free & Open Source:
ImageMagick (the command line software you mentioned)
Can only handle 16 bit / sample when built with the 16 bit configuration build option, so the prebuilt binary may not work for you
http://www.imagemagick.org/script/index.phpFREEIMAGE - C library w/ a few samplesfreeimage.sourceforge.net/Netpbm - another command line tool set for converting to & from PFM and PPMnip2 & vips -
Free, Scriptable, spreadsheet i/f w/ good CIE color supportwww.vips.ecs.soton.ac.uk/index.phpPFSTools w/ PFStmo - Handles 48 bit RGB TIFF as input only


handles colorimetry


 
Octave integration


 
library w/ C++ API


many tone mapping algswww.mpi-sb.mpg.de/resources/pfstools/gave compile errors on my Mac 10.3.9 OS when I tried it last
Commercial:
Photomatix - $99 -
http://www.hdrsoft.com/index.htmlPhotoShop CS2 - $699 or $150 upgrade

www.adobe.com


Pixel image editor -

Beta
for $38http://www.kanzelsberger.com/pixel/?page_id=12
Hope this information helps you.

On a related ImageJ topic, I've written a plugin that can take a 10 bit per color (i.e. 0 to 1023) linear intensity RGB image (stored in a 3 slice 16 bit stack) and transform it into a standard 24 bit RGB image after applying the standard sRGB gamma function to the colors, so the intensities will appear correct on a standard or calibrated monitor.  I haven't posted it as it works correctly only for 10 bits per color images only. Does anyone have an interest in that?

--  
Harry Parker  
Senior Systems Engineer  
Digital Imaging Systems, Inc.

----- Original Message ----
From: Jonathan Hilmer <[hidden email]>
To: [hidden email]
Sent: Wednesday, March 21, 2007 11:50:19 AM
Subject: Re: RGB merge

You can use ImageJ to export a RGB as a three-layer grayscale stack in
a RAW format, followed by import as a RGB RAW in other software.  It's
not very convenient, but it works.

Jonathan


On 3/21/07, Bill Christens-Barry <[hidden email]> wrote:

> On the subject of merging images to form an RGB, I'm looking for a means to combine three 16-bit
> monochrome images into an RGB image that retains 16-bits per channel (not surrently supported in
> ImageJ if I understand correctly).
>
> Can anyone suggest a way? Currently, I'm exploring ImageMagick, but am having some libtiff
> installation issues on my Intel Mac.
>
> Thanks.
>
> Bill Christens-Barry







 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367