Go to the USGS Home Page

USGS MIPS Binmap Documentation






This program uses one to six images  and generates an unsigned 8-bit  binary image map. That is, each image represents 1-bit in the output image, where the bit is on or off based on a user specified minimum/maximum range. The output image will have DNs  ranging from 0 to 2**N-1 where N is the number of input images. For example, if there are four input images, DNs will range from 0 to 2**4-1 = 2*2*2*2-1 = 16-1 = 15.

Again using the example of four input images, below is a table of how output DNs are determined. A YES indicates the input DN was within the user specified mininum/maximum range inclusive and a NO indicates the DN was outside the range.

 Input    Input    Input    Input    Output    
Image 1  Image 2  Image 3  Image 4     DN
-------  -------  -------  -------   ------
  NO       NO       NO       NO         0  
  YES      NO       NO       NO         1  
  NO       YES      NO       NO         2  
  YES      YES      NO       NO         3  
  NO       NO       YES      NO         4  
  YES      NO       YES      NO         5  
  NO       YES      YES      NO         6  
  YES      YES      YES      NO         7  
  NO       NO       NO       YES        8  
  YES      NO       NO       YES        9  
  NO       YES      NO       YES       10  
  YES      YES      NO       YES       11  
  NO       NO       YES      YES       12  
  YES      NO       YES      YES       13  
  NO       YES      YES      YES       14  
  YES      YES      YES      YES       15  
And,

0             =  All 4 files NO
1,2,4,8       =  Only 1 file YES
3,5,6,9,10,12 =  2 files YES
7,11,13,14    =  3 files YES
15            =  All 4 files YES
  

Files

This program requires as input one to six unsigned 8-bit , signed 16-bit , or 32-bit  floating image files. It will produce one unsigned 8-bit image. The following information is transferred from the first input file to the output file(if appropriate>:

Image labels 
Mosaic labels
Projection labels
Sonar labels
Navigation  file
History  file
   

Parameters

MIN and MAX

These paramters are arrays used to specify the range of input DNs which will cause a bit to be set in the output image. The first array element corresponds to the first input image, the second element to the second image, and so on. Input DNs inside the range, inclusive will cause the corresponding bit in the output image to be set to 1 and DNs outside the range will cause the bit to be set to 0. By corresponding bit we mean, DNs from input image 1 affect bit 1 in the output image, from input image 2 affect bit 2, and so forth.

Uses

This program can be used as a Geographic Information System (GIS) modeling feature. That is, the input images are the layered data and the output image would be a prediction model. For example, assume the first input image is a vegetation index where 0 = no vegetation and the amount of vegetation increases as the DNs increase toward 255. Assume the second input image is a slope map where 0 = no slope and the amount of slope increases as the DNS increase. Then using MIN/MAX of 0/30 for the vegetation image and 205/255 for the slope image this program would produce an erosion potential image. Where the output DNs represent:

0   = No erosion areas
1,2 = Low erosion areas
3   = High erosion areas

Examples

From left to right, images used as input into Binmap.

[Example Image] [Example Image] [Example Image]



Image created by Binmap and colorcoded to enhance areas of different DN values.

[Example Image]

See Also

Wtcmbo 
U.S. Department of the Interior | U.S. Geological Survey | Jobs
Home | Search | Disclaimers & Privacy Web Rings
Send comments to webman@TerraWeb.wr.usgs.gov
URL:
Last Modified: Thu Oct 31 15:08:22 MST 2002
FirstGov: Your First Click to the U.S. Gov ernment