home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.soft-sys.khoros
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!mizar.cc.umanitoba.ca!ccu!hehn
- From: hehn@ccu.umanitoba.ca (Jeff Hehn)
- Subject: Trouble displaying color images
- Message-ID: <By6I81.58E@ccu.umanitoba.ca>
- Sender: news@ccu.umanitoba.ca
- Nntp-Posting-Host: ccu.umanitoba.ca
- Reply-To: hehn@ccu.umanitoba.ca
- Organization: The Univeristy of Manitoba.
- Date: Mon, 23 Nov 1992 17:07:13 GMT
- Lines: 65
-
- Hello group,
- I am relatively new to khoros and have been writing some code to
- get color images from our framegrabber (on a PC) into the viff format, and for the
- most part I have been successful. I am able to save viff images in greyscale
- and RGB format and display them using khoros on a Sparc II. When
- I try to use an IHS (Intensity, Hue, Saturation) model however, it seems to just
- display it as a greyscale image. I extracted the three bands and the data seems to
- represent the HSI model. Has anyone else had experience with trying to display
- images in an IHS model. A vfileinfo of an image I saved in the hsi model reveals:
- ______________________________________________________
-
- File Name: tapehsi.xv
-
- File Type: khoros image file format
- KHOROS identifier: -85
- KHOROS version/release: 3.1
-
- Description:
-
- ¡¡¡ú▌D¡ú╕nú└n¡ú║nú┬n╞╞]¡ófn╨¡>Σ~
- End Description
-
- File data storage type: BYTE
- Number of pixels per band: 256 rows by 256 columns or 65536 pixels
- Pixel subrow size: 0
- Number of images per file: 1
- Number of bands per image pixel: 3
- Subimage: YES (coordinates in original File: (0,0) to (255,255)).
- File Data Compression: NONE
- Pixel size: 0 (x) by 0 (y) meters
- Machine dependency: NS32000 or MIPS(DEC 3100)
- Color space model: IHS
- Data Band Mapping scheme: NONE
-
- The following map fields are not used because the map scheme is set to none
-
- Map storage type: NONE
- Map row size: 0
- Map col size: 0
- Map subrow size: 0
- Maps per cycle: 0
- Enable the Map: OPTIONAL
-
- Location of Data: IMPLICIT
-
- The following fields are not used because the location type is implicit
-
- Dimension Location: 0D (NONE)
- ___________________________________________________________
-
- I would certianly appreciate any comments or ideas to help me display
- images using a IHS model.
- Thanks,
- -JLH
-
-
- __________________________________________________________________
- Jeff L. Hehn Dept. of Agricultural Engineering
- hehn@ccu.umanitoba.ca University of Manitoba
- ph:204-474-6298
- "Who's that man with a back-pack shaped like my wife"
- - Al Bundy
- __________________________________________________________________
-
-
-