Sebastian,
You can use the changeValues(v1, v2, v3) macro function to do that.
It will replace all pixels with values in the [v1, v2] range with
pixels of v3 value.
For replacing all black pixels with white pixels in an RGB image, use :
changeValues(0x000000, 0x000000, 0xffffff);
Jerome.
On Fri, Oct 10, 2008 at 12:58 AM, Sebastian Baumbach <
[hidden email]> wrote:
> Hey,
>
> I just started working with imageJ. I'd like to analyze pressure sensitive film, meaning i got a a sample with pressure coded in different magenta intensities.
>
> Is the templates are not completely white, i have created a binary mask and subtracted it from the original image, resulting in a image with a black background and only the areas with magenta left intact.
>
> I would now like turn the black background into a white one in order to be able to analyze the data. I was not able to figure out how to do it though
>
> I anyone of you could help me out w this prob. i would very much appreciate it!
>
> Kind regards,
>
> Sebastian
>
> __________________________
> Sebastian Baumbach
> Wimmergasse 15/15
> 1050 Wien
> Austria
> Fon: +43(0)650 3514527
> mailto:
[hidden email]
>
>
>
>