5CCSD3ZF0000100000001NJPL3IF0PDS200000001 = SFDU_LABEL'RECORD_TYPE = STREAM+PRODUCT_CREATION_TIME = 1991-08-01%OBJECT = TEXTE NOTE = "Description of VAX/VMS Workstation , software provided with the MDIM  CDROM collection."%END_OBJECT = TEXTEND2 VAX/VMS WORKSTATION INTERFACE2 ------------------------------HAlthough the software contained on this CDROM have been used and tested,Fno warranty, expressed or implied, is made by NASA, the Jet PropulsionELaboratory (JPL), or the United States Geological Survey (USGS) as toGthe accuracy and functioning of the software and related materials, and7no responsibility is assumed by NASA, JPL, or the USGS.HThis VAX/VMS workstation software is a highly-simplified example programAfor display of MDIM images located on CDROM media. The program isGdesigned to demonstrate how to extract image data from an MDIM file andthen display the data.HThe program was developed exclusively for a VAX-station with a GPX colorGdisplay. See Micro-VMS Workstation Software: Graphics Programming GuideG(version 3.0, May 1986) for a description of the graphics routines usedin this program.FThe program assumes there is a standard VAX/VMS software interface toGthe CDROM disc. Currently, under version 5 of VMS there is not a systemFinterface to the ISO/CDROM standard. However, there is a DEC beta-testGversion CDROM interface, "VFS Mount Field Test Tool Kit", that providesBaccess to ISO standard disks. The driver software is not generallyDavailable from DEC. It can be obtained from Jason Hyon, PDS, at the following address:  Jason Hyon Jet Propulsion Laboratory MS 168-514 4800 Oak Grove Drive Pasadena, CA 91109!The program functions as follows:D1) MDIMDISP will prompt the user for the desired size of the window A used for display of the image. The default display size is 15  centimeters.F2) Next the user is prompted to input the name of the CDROM image file to display. A3) The display window is then created for eventual display of the image data. 24) The program reads the entire image into memory.B5) An "auto-stretch" is performed on the image data to generate an optimum display of the data. 06) The image is then sent to the display window.>7) The program prompts the user for the next image to display.AThe program works best with the 1/64-th degree scale MDIM images Cbecause these images fit nicely into the default window size. It isHpossible to display larger images with MDIMDISP. However, only a part ofFthe whole image can be viewed at any given time. The program initiallyAdisplays as much data as can be viewed in the display window. TheHlower-left part of the image will be displayed. Other parts of the imageHcan be display by altering the size of the window with the mouse control3(the standard mouse control features are utilized.)GThe program can be complied and linked by first copying the source codeEMDIMDISP.FOR to a magnetic disk file and then providing the commands:$FOR MDIMDISP$LINK MDIMDISP=This program was adapted from the CDIMAGE software created byRobert Mehlman at UCLA/IGPP.