home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / vf02r1.zip / VIEWFITS.DOC < prev    next >
Text File  |  1993-06-11  |  3KB  |  102 lines

  1. ViewFITS : FITS viewer for OS/2 PM.
  2. -----------------------------------
  3.  
  4. Current status: Version 0.2, release 1, June 11, 1993
  5.  
  6. Introduction:
  7. ------------
  8.  
  9. ViewFITS is a FITS viewer for the OS/2 PM.  "FITS" stands for "Flexible
  10. Image Transport System", a standard in use for many years by professonials.
  11. ViewFITS, in the current version, can display images of any format, 8 to 32
  12. bits per pixel, integers or floating points.  The color palette (LookUp Table)
  13. can be easily modified to help the user to get the maximum of the image. Let's 
  14. see the principal characteristics.
  15.  
  16.  
  17. Handling datas:
  18. --------------
  19.  
  20. In the present version, new image can only be gotten via menu (FILE/NEW).
  21. In a future release, we project to make the application be able to
  22. read arguments on command line and use pipes to communicate with other
  23. programs.  It will then be used as a "client" program.
  24.  
  25.  
  26. The color palette:
  27. -----------------
  28.  
  29. The color palette, or lookup table, contains 64 colors.  They are scaled
  30. via a linear equation.  So, the user can modify the slope and the intercept
  31. of the palette to customize the display as s/he wants.  Negativation can be
  32. do as well. In all cases, datas are processed to be spread over all the dynamic 
  33. range of the palette:
  34.  
  35. e.g.:
  36.  
  37. Your image has pixels with values from 100 to 300, so the dynamic range is
  38. 200.  The intercept of the image is then Ii=100 and the slope is given by
  39. Si= (number of color) / (dynamic range) = 64/200 = 0.32.
  40.  
  41. This way, each a pixel is drawn, its color is Cp=(Vp - Ii) * Si.  Let's
  42. imagine we have Vp=150, Cp = (150 -100) * 0.32 = 16.  Pixels with Vp=100
  43. will get Cp=0 and Vp=300, Cp=63 (not 64!) where Cp is the color index, i.e.
  44. the position in the lookup table.
  45.  
  46. The menu PALETTE allows the user to modify the slope and the intercept of
  47. the lookup table.  This way, a given pixel will always have the same color
  48. index but the corresponding color value will change.
  49.  
  50. The PALETTE menu allows the user to do negativation too.
  51.  
  52. Known bugs:
  53. ----------
  54.  
  55. Here is a short list of know bugs:
  56.  
  57. 1- There is an error in the palette manager (I have nothing to do with this).
  58. If you have a window that modify the palette over the image, the palette
  59. won't be restored once the window has moved.  To correct that, use REFRESH.
  60.  
  61. 2- Because it use palette manager, this application cannot be used under OS/2
  62. 2.0.  It only works under version 2.1 beta.
  63.  
  64. 3- Drawing is very slow!  Bitmapping will be implemented soon.
  65.  
  66.  
  67. Improvments since last release:
  68. ------------------------------
  69.  
  70. 1- The sliders in the palette controler are calibrated.  It is easier to use
  71. them.
  72.  
  73. 2- Now, the LUT modifications are done instantly, you don't have to click on
  74. "APPLY" or "OK".
  75.  
  76. 3- These sliders set themselves automaticaly when the controler is called.
  77.  
  78. 4- The menu to open a file is now the standard PM open menu.  A much easier
  79. way to find a file!
  80.  
  81. 5- You can now do negativation...
  82.  
  83. 6- I use now dynamic link libraries.  The program is now 17k long instead of 
  84. 75k...
  85.  
  86.  
  87. Unknown bugs:
  88. ------------
  89.  
  90. I'm waiting for your reports!  You can join me via e-mail at
  91.  
  92. beaucham@phy.ulaval.ca
  93.  
  94. or on the FIDONet forum "astronomy echo".
  95.  
  96.  
  97. VERSION 0.2, is FREEWARE.
  98.  
  99. Dominique Beauchamp
  100. Quebec City
  101. June 11, 1993
  102.