POSTMASTER@compuserve.COM (09/01/89)
Received: from ucbvax.Berkeley.EDU by saqqara.cis.ohio-state.edu (5.61/4.890725) id AA05429; Fri, 1 Sep 89 02:49:53 -0400 Received: from agate.Berkeley.EDU by ucbvax.Berkeley.EDU (5.61/1.37) id AA08756; Thu, 31 Aug 89 23:50:22 -0700 Date: Thu, 31 Aug 89 23:50:22 -0700 From: MAILER-DAEMON@ucbvax.Berkeley.EDU (Mail Delivery Subsystem) Subject: Returned mail: Host unknown Message-Id: <8909010650.AA08756@ucbvax.Berkeley.EDU> To: <postmaster@compuserve.com> ----- Transcript of session follows ----- 550 <shelby!portia!who>... Host unknown ----- Unsent message follows ----- Received: from agate.Berkeley.EDU by ucbvax.Berkeley.EDU (5.61/1.37) id AA08754; Thu, 31 Aug 89 23:50:22 -0700 Received: from ucbvax.Berkeley.EDU by agate.berkeley.edu (5.61/1.30) id AA05166; Thu, 31 Aug 89 23:49:40 PDT Received: from saqqara.cis.ohio-state.edu by ucbvax.Berkeley.EDU (5.61/1.37) id AA08750; Thu, 31 Aug 89 23:50:12 -0700 Received: by saqqara.cis.ohio-state.edu (5.61/4.890725) id AA05373; Fri, 1 Sep 89 02:49:27 -0400 Date: 01 Sep 89 02:02:39 EDT From: Electronic Postmaster <POSTMASTER@CompuServe.COM> To: <agate!shelby!portia!who@ucbvax.Berkeley.EDU> Subject: Undeliverable message Message-Id: <"890901060239 515664.456256 CHB15-7"@CompuServe.COM> Re: ? EMDNRM - Mail Delivery Failure. No room in mailbox. >EPX [76200,2050] Fwd: How to get RGB values from XImage data Your message could not be delivered as addressed. --- Returned message --- Received: from EXPO.LCS.MIT.EDU by saqqara.cis.ohio-state.edu (5.61/4.890725) id AA28413; Fri, 1 Sep 89 00:40:26 -0400 Received: from BLOOM-BEACON.MIT.EDU by expo.lcs.mit.edu; Thu, 31 Aug 89 20:46:39 EDT Received: by BLOOM-BEACON.MIT.EDU with sendmail-5.59/4.7 id <AA05870@BLOOM-BEACON.MIT.EDU>; Thu, 31 Aug 89 20:07:12 EDT Received: from USENET by bloom-beacon.mit.edu with netnews for xpert@expo.lcs.mit.edu (xpert@expo.lcs.mit.edu) (contact usenet@bloom-beacon.mit.edu if you have questions) Date: 31 Aug 89 21:42:05 GMT From: ucbvax.berkeley.edu!agate!shelby!portia!who (Doiknow Liu) Organization: Stanford University Subject: Fwd: How to get RGB values from XImage data Message-Id: <4981@portia.Stanford.EDU> Sender: xpert-request@expo.lcs.mit.edu To: xpert@expo.lcs.mit.edu Newsgroups: comp.graphics Subject: Fwd:How to get RGB values from XImage data? Expires: References: Sender: Reply-To: luj@delta.ecn.purdue.edu Followup-To: Distribution: world Organization: Stanford University Keywords: XImage, RGB values, color map I'm helping a friend to post the following article. Please reply to his account: ARPAnet: luj@delta.ecn.purdue.edu UUCP: pur-ee!luj ------------------------------------------------------------------ Hello, netters, I'm a X-novice and I'm also new to graphics. I need to know how to get RGB values from the XImage data created by "xwd". This might be an old question having been discussed before. Sorry if this is a repetition. To let you understand better where the problem lies, I'll briefly describe what I'm doing. Recently we got a Titan from Ardent Computer Co. Titan is a supermini graphics computer running under AT&T System V. It supports X11(R2) window system and a 24-plane DirectColor visual display , and has a graphics library Dore' built on the top of X. We have built , using Dore', a dynamic renderer to simulate a simple battlefield scene consisting of a tank, a tree, a house and flat "terrain". What we need to do next is to pass the image to an image processor to extract the information about the target and track the target. Ideally I'd like to have the image processor to directly access the image data stored in the frame buffer(or some other device? -- I don't quite understand the tigr( Titan graphics hardware ) yet) in order to avoid the overhead incurred in sending requests(XGetImage)to X server or writing/reading data to/from a disk file. But accessing frame buffer directly requires quite lot of understanding of the graphics hardware and I'm hoping that someday in the near future Ardent will come up with some solutions.( Can someone on the net shed some light on this problem ?) As a first step to pass the pixel data to the image processor, I used the command level utility -- xclient "xwd" -- to dump an image to a disk file. Now the problem is how to get pixel RGB values from the XImage data in the file. Could someone please tell me how the "((XImage)image)-> data " is REPRESENTED ? Are there any routines in the public domain that enable me to do the conversion from the XImage data to RGB values ? Any suggestions and help would be appreciated. Stanley J. Lu School of Aeronautics and Astronautics Purdue University West Lafayette, IN 47907 Phone:(317)494-7864 ARPAnet: luj@ecn.purdue.edu UUCP: pur-ee!luj #include <stddisclaimer.h> INTERNET:MAILER-DAEMON@ucbvax.Berkeley.EDU 03:40 EDT 01-Sep-89 (890901074010 515664.456256 CHB16-1) for POSTMASTER 03:41 EDT 01-Sep-89 Message 5641-138 forwarded by