home *** CD-ROM | disk | FTP | other *** search
/ GRIPS 2: Government Rast…rocessing Software & Data / GRIPS_2.cdr / readmes / adrg.rmf next >
Text File  |  1990-07-14  |  5KB  |  139 lines

  1. USAETL, Fort Belvoir, VA  22060-5546              30 March 1990 
  2.    
  3.      
  4.               ***  ADRG DEMONSTRATION SOFTWARE  ***     
  5.           
  6. INTRODUCTION     
  7.      
  8. This software is used to demonstrate the Defense Mapping   
  9. Agency's production ARC Digitized Raster Graphics (ADRG).  ADRG is
  10. a raster scanned image of a paper map with 24 bits of color
  11. resolution (8 bits red, 8 bits green, and 8 bits blue) recorded for
  12. each pixel.  The spatial resolution of a pixel is 100 microns or
  13. approximately 250 lines per inch.  ADRG data is distributed on
  14. CD-ROM.  
  15.  
  16. This software can be used to display ADRG data extracted from a CD-
  17. ROM on PC-compatible computers with EGA graphics.  The software was
  18. written in Turbo Pascal 5.0 on a Zenith 248 with MS-DOS 3.21, BIOS
  19. 3.37.  The data is extracted from the CD-ROM following DMA's ADRG
  20. Specifications, First Edition dated April 1989 (PS/2DJ/100).  The
  21. use of software to read the ISO 8211 file format (which I bypassed)
  22. is recommended. The 24-bits of color have been reduced to 4-bits
  23. for display purposes.  (This causes considerable degradation of the
  24. original data.)    
  25.  
  26. This program will work for most ADRG production discs.  Will not
  27. display properly ADRG data containing ZDRs with null tiles on the
  28. full resolution image file.  In addition, the colors that were
  29. selected in this set are applicable to the M745-3906 TLM map.  
  30.  
  31.  
  32. ADRG IMAGES     
  33.           
  34. Full Resolution Images (FRI) - The FRI represents the scanned data
  35. at a resolution of 100 microns or approximately 250 lines per inch. 
  36. A tile represents an area of nearly 2.5 cm. X 2.5 cm. of the
  37. original map.  Approximately 15 tiles of 128 X 128 pixels each can
  38. be displayed on the screen using the EGA resolution.
  39.      
  40.   
  41. CLASSIFICATION METHODS     
  42.  
  43. To reduce the 24-bit color to the 4-bit color supported by EGA
  44. graphics the minimum distance method was used.  This classification
  45. methods do not adequately address the mixed pixel problem.  This
  46. problem occurs where a pixel encompasses different colors on the
  47. map and classifies the pixel to a color not found on the map.   
  48. The classification method used is fairly crude and do not   
  49. reflect the potential quality if additional image processing   
  50. techniques were applied to the data.     
  51.  
  52.      Minimum Distance Method:  In this method, the 24-bit color 
  53. space was reduced to a 4-bit color space and mapped into a Peano
  54. curve.  Clusters along the Peano curve were manually identified. 
  55. Then the color location of each pixel was mapped to the closest 
  56. cluster.  This method was more time consuming than the     
  57. parallelepiped method because distances to each cluster had to be
  58. calculated.  It took approximately ten minutes to classify a
  59. screen-full of data. 
  60.  
  61.  
  62. CATALOG     
  63.      
  64.      FILE                     DESCRIPTION     
  65.      
  66.    adrg.rmf         This file      
  67.  
  68.    egavga.bgi       Turbo Pascal driver for EGA graphics card,
  69.                     should be present in the directory where the
  70.                     program is executed
  71.  
  72.    tlm.img          Non-ASCII file with 15 tiles image     
  73.                     following minimum distance algorithm for     
  74.                     color assignment, may be displayed with
  75.                     dispany.exe
  76.  
  77.    adrgmain.exe     executable program for this demonstration sw
  78.  
  79.    dispany.exe      program that will display an image file
  80.                     specified by the user  (tlm.img)
  81.  
  82.    *.pas            Turbo Pascal 5.0 source code
  83.  
  84.  
  85. MINIMUM HARDWARE CONFIGURATION     
  86.      
  87. The minimum hardware configuration to run the ADRG demonstration 
  88. program is:     
  89.      
  90.      IBM-AT or compatible     
  91.      512K RAM
  92.      EGA card and display     
  93.      360K floppy drive     
  94.      Hard disk with 800K available     
  95.      CD-ROM reader with ISO 9660 device driver
  96.  
  97.      
  98. INSTALLATION     
  99.  
  100.      Installation of the software is not required, however all the
  101.      files may be copied to a hard disk with the DOS copy command.
  102.  
  103.      To run the demonstration software:     
  104.  
  105.           at the DOS prompt, set a DOS environment variable with
  106.           the drive letter assigned to your CD-ROM reader (for
  107.           example:  C:> set CDROMDSK=G  , where G is the letter
  108.           assign to your CD-ROM reader).
  109.      
  110.           at the DOS prompt, type the name of the executable
  111.           program   C:> adrgmain
  112.  
  113.      The program will prompt for a user selected filename where the
  114.      map image will be saved for future display.
  115.  
  116.      Also, the program will show the limiting coordinates of the
  117.      Zone Distribution Rectangle on the disc, and prompt the user
  118.      for the latitude and longitude of a point.  This point will
  119.      be used as a reference to center the area that will be
  120.      displayed.
  121.  
  122.      When execution finishes, hit any key to return to the DOS
  123.      prompt.
  124.  
  125.    
  126. ADDITIONAL INFORMATION     
  127.      
  128. NOTE : The ADRG demonstration software (ADRGMAIN.EXE) can only be 
  129.        used with the DMA's production CD-ROM's.
  130.  
  131. For questions or additional information, please contact:     
  132.  
  133. U.S. Army Engineer Topographic Laboratories     
  134. Digital Concepts and Analysis Center
  135. ATTN: CEETL-CA-D (Juan A. Perez)  
  136. Fort Belvoir, VA 22060-5546     
  137. (202) 355-2864     
  138. AV 345-2864     
  139.