home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / softsys / khoros / 2956 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.6 KB  |  78 lines

  1. Newsgroups: comp.soft-sys.khoros
  2. 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
  3. From: hehn@ccu.umanitoba.ca (Jeff Hehn)
  4. Subject: Trouble displaying color images
  5. Message-ID: <By6I81.58E@ccu.umanitoba.ca>
  6. Sender: news@ccu.umanitoba.ca
  7. Nntp-Posting-Host: ccu.umanitoba.ca
  8. Reply-To: hehn@ccu.umanitoba.ca
  9. Organization: The Univeristy of Manitoba.
  10. Date: Mon, 23 Nov 1992 17:07:13 GMT
  11. Lines: 65
  12.  
  13. Hello group,
  14.     I am relatively new to khoros and have been writing some code to 
  15. get color images from our framegrabber (on a PC) into the viff format, and for the 
  16. most part I have been successful. I am able to save viff images in greyscale
  17. and RGB format and display them using khoros on a Sparc II.  When
  18. I try to use an IHS (Intensity, Hue, Saturation) model however, it seems to just 
  19. display it as a greyscale image. I extracted the three bands and the data seems to
  20. represent the HSI model. Has anyone else had experience with trying to display
  21. images in an IHS model. A vfileinfo of an image I saved in the hsi model reveals:
  22. ______________________________________________________
  23.  
  24. File Name: tapehsi.xv
  25.  
  26. File Type: khoros image file format
  27. KHOROS identifier: -85
  28. KHOROS version/release: 3.1
  29.  
  30.                           Description:
  31.  
  32. ¡¡¡ú▌D¡ú╕nú└n¡ú║nú┬n╞╞]¡ófn╨¡>Σ~
  33.                         End Description
  34.  
  35.   File data storage type: BYTE
  36.   Number of pixels per band: 256 rows by 256 columns or 65536 pixels
  37.   Pixel subrow size: 0
  38.   Number of images per file: 1
  39.   Number of bands per image pixel: 3
  40.   Subimage: YES (coordinates in original File: (0,0) to (255,255)).
  41.   File Data Compression: NONE
  42.   Pixel size: 0 (x) by 0 (y) meters
  43.   Machine dependency: NS32000 or MIPS(DEC 3100)
  44.   Color space model: IHS
  45.   Data Band Mapping scheme: NONE
  46.  
  47. The following map fields are not used because the map scheme is set to none
  48.  
  49.    Map storage type: NONE
  50.    Map row size: 0
  51.    Map col size: 0
  52.    Map subrow size: 0
  53.    Maps per cycle: 0
  54.    Enable the Map: OPTIONAL
  55.  
  56.   Location of Data: IMPLICIT
  57.  
  58. The following fields are not used because the location type is implicit
  59.  
  60.    Dimension Location: 0D (NONE)
  61. ___________________________________________________________
  62.  
  63. I would certianly appreciate any comments or ideas to help me display
  64. images using a IHS model. 
  65. Thanks,
  66. -JLH
  67.  
  68.  
  69. __________________________________________________________________
  70.   Jeff L. Hehn            Dept. of Agricultural Engineering
  71.   hehn@ccu.umanitoba.ca        University of Manitoba
  72.   ph:204-474-6298    
  73.     "Who's that man with a back-pack shaped like my wife"
  74.                     - Al Bundy
  75. __________________________________________________________________
  76.  
  77.  
  78.