Hi Jim:

Yes, you can. Assumming you've got a RGB 3-band image, first thing you need
to know are the Digital Values for the three bands in one of these pixels;
use 'View->Cell Values Profile' to get the values for the Red Green and Blue
channels. For instance, those values could be Red=255, Green=128 and
Blue=255.

To change that color into a grey level (ie, Red=128, Green=128, Blue=128),
just open a RGB algorithm and apply this formula to the three (RGB) bands:

if I1=255 and I2=128 and I3=255 then 128 else I1

where I1 is the original red band, I2 is the original green band and I3 is
the original blue band.

The resulting image will have a 128/128/128 (grey) color in place of the old
255/128/255 (pink).

Regards,

Manuel Alonso




-----Original Message-----
From: Jim Pack [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2002 00:39
To: [EMAIL PROTECTED]
Subject: Replace Pixel


I have an image that has many pink pixels in it.  I would like to convert
every one of the pink pixels to another color (a grey).  Every pink pixel is
exactly the same color.  Can I do this in ERMapper?

Jim
[EMAIL PROTECTED]
-----------------------------------------------------------

To make changes to your subscription, please visit our website, 
http://www.ermapper.com/technicl/ermapperl/index.htm

Reply via email to