COOKBOOK IMAGE DATA LOADING USING MULTISPEC 32
(Supercedes Laboratory 2 Handout due to bug fixes for version 03/08/00)
(revised 04/11/00)






With image CD in CD reader:

RETRIEVE IMAGE HEADER INFORMATION

1. Start WordPad to retrieve header information.

(NOTE: To find WordPad, go to START button choose Programs Accessories Word Pad)

Choose File, Open (go to CD directory) Open *.hdr (header info) file with WordPad.
If you wish you can PRINT the header information:
At the least, you will need # of lines, # of columns, and the data type.
Close WordPad.
 

LOAD TM IMAGE DATA AND MAKE SUBSCENE

2. Start MultiSpec32 and choose:

File, Open Image..., go to CD directory (may vary depending on the machine) and Open *.i1 file (to load band 1 data)
[Set Multispectral File Format Specifications for:]
enter # lines enter # columns set Band Interleave format to BSQ
[Set Display Specification for:]
Leave all settings as is except change Min-maxes to entire range.  If you don't, you will be prompted to save a histogram file for each band.  To save time, do this later after your single image file is created.
click OK

Your image (band 1) will now load. Be patient, as it may take a while...

3. After your image has finished loading, you can choose an Area of Interest (AOI) for your subscene.

To help you determine pixel sizes for your subscene, turn coordinates on:
Choose View, and select Coordinate Bar
Pick upper left corner of AOI: using left mouse button, click and drag a rectangle from upper left corner to lower right corner. Watch coordinates to determine the approximate size (in pixels) of your AOI.  Don't worry about being exact because you will be able to specify the exact pixel size for your AOI later.

4. If you are satisfied with the approximate limits of your AOI:

Choose Processor, Display Image...,
Under Area to Display, click the button to the left of the coordinate boxes to transfer your selected AOI limits)
Note: Transferred limits are only approximate (from your initial rectangle selection). To define an exact size to your subscene image, change the start and end values to reflect your desired image size.
WRITE DOWN YOUR FINAL START - END VALUES NOW!  You will need them for each band that you load.
Click OK

5. If you are satisfied with your subscene image,

Choose File, Save Image to TIFF As..., (save your image to your hard or floppy disk.  You will probably want to create a directory for yourself on the hard drive, under the images subdirectory within multispec.

Give your subscene image a name, noting which band you are saving. An example filename could be "name_of_image_band1.TIF". Be descriptive so you don't get confused later.

Next, set the correct path for your file to be saved and click OK.

You have now finished loading one band of TM data. You will need to repeat the process for the remaining six bands. Since you are creating subscenes, the last six bands won't take as long to load as the entire band 1 image data.

6. To load the next band choose:

File, Open, (go to CD directory) Open *.i2 file (to load band 2 data)
[Set Multispectral File Format Specifications for:]
Enter # lines (entire scene) enter # columns (entire scene) set Band Interleave format to BSQ
[Set Display Specification for:]
Area to Display enter pixel coordinates for your subscene
click OK
as before, the [Set Display Specification for:] window opens.
Once again, leave all settings as is except change Min-maxes to entire range. Do this for each band that you load.
click OK
Image subscene will now load. This should be relatively quick. Choose:
File, Save Image to TIFF As...,
Give your subscene image a name, noting which band you are saving (i.e. band 2).

7.  Repeat step 6 for each remaining band needed for your subscene. For a seven band TM image, you should end up with seven *.TIF files, one for each band.
 

CREATE MULTI-BAND IMAGE FILE

8.  To create a single working file for your subscene image, choose:

File, Open, go to your image directory, choose your band 1 TIF file, change Open Image As... dialog to "Multispectral type", select Open
[Set Display Specification for:]
Area to Display should indicate you subscene size (from 1 to ?) in pixels (example: 1 to 439 for 438 pixels).  Make sure entire range is selected for your min-maxes (it should be by default).
Click OK (your subscene (band 1) should open at this point)
Next, choose:
File, Open, go to your image directory, choose your band 2 TIF file, check the box next to Link to active image window,Open, select your band 3 TIF file Open next file, etc. Load each file sequentially until finished, then click Cancel
Choose, Processor Display Image...
[Set Display Specification for:]
Change Min-maxes... under the Enhancement section to entire range (to bypass histogramming).
click OK

At this point, your multiband image has been created.
 

SAVING YOUR MULTI-BAND IMAGE FILE

9.  To save your multiband image into a single *.lan image file, choose:

Processor, Reformat...
Select Change Image File Format in the [Reformatting Utilities] window.
Click OK
The [Set Image File Format Change Specifications] window appears.
Select New File for the Output File.  You don't need to change any of the other settings at this time.
Click OK
The [Save As...] window opens.
Name your image file with a .lan extension.  BE DESCRIPTIVE, but also be sure to include the .lan extension.
 

RE-OPEN YOUR IMAGE FILE (*.lan) AND SAVE HISTOGRAM FILE (*.sta) DATA.

10.  To create your histogram data file,

Open your image file.
The [Set Display Specification for:] window should open.
Select 2 Percent Tails Clipped for your Min-maxes.
click OK
The [Set Histogram Specifications for:] dialog should appear.
click OK
The [Save Image Statistics File as:] dialog opens.
The statistics file has a  .sta extension.  The actual name of your statistics file must be the same as your image (.lan) file except for the extension (.sta). (Example:  If your image file is named myimage.lan, your statistics file must be myimage.sta)
click OK

Hint:  If you transfer your image file to a floppy or zip disk (or e-mail or uploading to a website), you should also transfer the statitistics file.  It's probably best to transfer your entire working directory that you created earlier.

11.  DONE!