[Insight-users] convert to gray scale image

Beck y_h_young at hotmail.com
Tue, 20 Apr 2004 17:19:11 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_0030_01C426FB.98995950
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Dear All:
I want to use NeighborhoodConnectedImageFilter and my images are full =
color images.
So I want to convert color images to gray scale images as input for =
NeighborhoodConnectedImageFilter.
How can I convert color images to gray scale images?
Hope anyone can help.

Thanks

Beck
------=_NextPart_000_0030_01C426FB.98995950
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D4>Dear All:</FONT></DIV>
<DIV><FONT size=3D4>I want to use NeighborhoodConnectedImageFilter and =
my images=20
are full color images.</FONT></DIV>
<DIV><FONT size=3D4>So I want to convert color images to gray scale =
images as=20
input for NeighborhoodConnectedImageFilter.</FONT></DIV>
<DIV><FONT size=3D4>How can I convert color images to gray scale=20
images?</FONT></DIV>
<DIV><FONT size=3D4>Hope anyone can help.</FONT></DIV>
<DIV><FONT size=3D4></FONT>&nbsp;</DIV>
<DIV><FONT size=3D4>Thanks</FONT></DIV>
<DIV><FONT size=3D4></FONT>&nbsp;</DIV>
<DIV><FONT size=3D4>Beck</FONT></DIV></BODY></HTML>

------=_NextPart_000_0030_01C426FB.98995950--