Article View: comp.soft-sys.khoros
Article #979Re: image warping
From: Donna Koechner
Date: Sat, 19 Dec 1992 19:59
Date: Sat, 19 Dec 1992 19:59
41 lines
1999 bytes
1999 bytes
On Dec 19, 2:20pm, Ivan Vesely wrote: } Subject: image warping } Hello, } } Wejust got KHOROS installed and I'm trying to learn it. The main } purpose for getting it is for warping some images. } } I constructed a flow diagram in cantata where I input two images, and } pipe them into the warpimage routine. When I try to run warpimage in } interactive mode, it gets about halfway through loading and then } quits giving me the following error message: } } X Error of failed request: BadMatch (invalid parameter attributes) } Major opcode of failed request: 72 (X_PutImage) } Minor opcode of failed request: 0 } Resource id in failed request: 0x4400062 } Serial number of failed request: 511 } Current serial number in output stream: 515 } Major X error encountered for display ':0.0'! Unable to recover. } } This occurs only in the interactive warpimage routine. Some of the } others that I ran, such as displaying and rotating images work fine. } } Any ideas? } } --- } Ivan Vesely, Electrical Engineering and Medical Biophysics } University of Western Ontario, vesely@next.heart.rri.uwo.ca }-- End of excerpt from Ivan Vesely >From the error that you sent, it looks like you have a 24-bit display. In the current version of Khoros, warpimage cannot display on 24-bit. It will happily remotely display to an 8-bit display. (24-bit will be supported much more completely in Khoros 2.0.) If you do not need interactive warping (ie. if you already know your source and destination coordinates, or your warping coefficients), you can use the non interactive "vwarp" program. Donna
Technical Details
Message-ID:
<42266@pprg.eece.unm.edu.pprg.unm.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!fmsrl7!lynx!pprg.unm.edu!daemonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!fmsrl7!lynx!pprg.unm.edu!daemon From: donna@peabody.eece.unm.edu (Donna Koechner) Newsgroups: comp.soft-sys.khoros Subject: Re: image warping Message-ID: <42266@pprg.eece.unm.edu.pprg.unm.edu> Date: 19 Dec 92 19:59:08 GMT Sender: daemon@pprg.unm.edu Lines: 41