comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Image processing question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Image processing question [message #30771] Thu, 16 May 2002 08:41 Go to previous message
rkj is currently offline  rkj
Messages: 66
Registered: February 1996
Member
How do I convert a color image(.jpg) to grayscale?

I am using PV-Wave's Image_Read function to read the image,
which stores all the image info in an associative array.
Do I simply take the maximum RGB intensity value at each
pixel in the 'pixels' array (xdim,ydim,3)? This gives me
a grayscale image, but I'm not sure this is the "correct"
one.

Kyle J.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Seg. Fault in IDL 5.5 (Linux)
Next Topic: Re: IDL's PNG does not correctly interpret the "Number of significant bits" field

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 06:16:50 PDT 2025

Total time taken to generate the page: 1.43258 seconds