|
Hi Julien,
you can simply split the color channels (Image>Color>) and use 'Image Calculator' to get the ratio (create a 32-bit result). Then convert the float image to 8 bits again and apply any LUT that you like.
If you want to overlay it to the original, you have two possibilities:
- create a new RGB image, where you replace the old 'red' channel with the new image.
- or create a stack from the color channels that you want to keep and the new image, and convert it to composite.
The 'Composite Image' method gives you more possibilities for display (channels can have color lookup tables, and you can have more than 3 channels).
Michael
________________________________________________________________
On May 14, 2012, at 18:58, Julien Vaubourgeix wrote:
> Dear ImageJ users,
>
> I have images (containing 2 colors, green and red) for which I would like to extract the intensity value at each x, y coordinates. I would like further to calculate the ratio of the green over red signals at each x, y points and reconstitute an image (from light red to dark red for example) based on the value of the foregoing ratio. Any suggestions for a procedure to properly doing it?
>
> Thanks for your help,
>
> Best wishes, Julien.
|