Login  Register

Re: Colorizing of binary images

Posted by Krs5 on May 11, 2011; 5:17pm
URL: http://imagej.273.s1.nabble.com/Measuring-of-sponge-spicule-microscopy-images-tp3684624p3684629.html

Hi Ayse,

Try:
Change type to RGB and use Image-->Color-->Split Channel
Fill the whole 'red' image with red (Select All-->Fill (with red selected as fill color))
Merge the three images again Image-->Color-->Merge Channels

And you should get a red image with white selections.

Hope it works

Kees


Dr Ir K.R. Straatman
Senior Experimental Officer
Centre for Core Biotechnology Services
College of Medicine, Biological Sciences and Psychology
http://www.le.ac.uk/biochem/microscopy/home.html 
ImageJ workshops 21 and 22 July: http://www.le.ac.uk/biochem/microscopy/ImageJ2011.html 




-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of ali ayata
Sent: 11 May 2011 14:31
To: [hidden email]
Subject: Re: Colorizing of binary images

hi.
you can do this with photoshop #color replacement tool.

try this; http://www.digital-photography-school.com/changing-color-in-photoshop

ij de de mutlaka bunu yapmanın bir yolu vardır ama en kolayı bu bence.

--- On Wed, 5/11/11, Ayse Turak <[hidden email]> wrote:

From: Ayse Turak <[hidden email]>
Subject: Re: Colorizing of binary images
To: [hidden email]
Date: Wednesday, May 11, 2011, 5:52 AM

Dear Arne,

thanks for that -- my one problem is that no matter what I choose, black areas become coloured, but the areas that were once white now turn black (or coloured if I invert the image). Is there a way to have all the black pixels red for example, but keep the white pixels white?

sorry if this seems basic, I tried every variation of the LUT but none of them seem to work for me

regards

Ayse

On May 4, 2011, at 19:45 , Seitz Arne wrote:

> Hi Ayse,
>
> the easiest way to change the appearance of your (binary) image is to use Lookup tables (LUT).
> You can find them under: Image->Lookup Tables.
>
> Best regards
> Arne
>
> -----Original Message-----
> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Ayse Turak
> Sent: mardi 3 mai 2011 16:18
> To: [hidden email]
> Subject: Colorizing of binary images
>
> Dear Members,
>
> I am new to imagej and I was wondering if there was a way to colorize binary images -- either converting back into a psuedo-RGB image or to assign a different color value to the black portions, i.e. making all red
>
> any advice would be great
>
> Ayse
>

Dr. Ayse Turak <[hidden email]>
Visiting Assistant Professor
Faculty of Engineering and Natural Sciences
Sabanci University
Orhanli, Tuzla
34956 Istanbul, TURKEY
+90 216 483 9000 2126