Go to the USGS Home Page

USGS MIPS Dk2dk Documentation






This program allows the user to extract a window or sub-area from an image . It also has the ability to compress an image by using line and sample increments when extracting a window.

  

Files

This program requires as input one unsigned 8-bit , one signed 16-bit  or one 32-bit  floating point image file and will produce one output file of the same type. The following information may be transferred from the input file or created and placed in the output file(if appropriate):

Image labels 
Projection labels
Mosaic labels
Sonar labels
Stretch file
Navigation  file
History  file
If the line and sample increments are not equal to one, the image line and sample resolutions will be modified before being transferred to the output file.

If the line and sample increments are equal, the projection labels will be modified before being transferred to the output file.

If the line and sample increments are both equal to one, the mosaic labels will be created and placed in the output file.

       

Parameters

SL, SS, NL and NS

These parameters define a sub-area to be extracted from the input image. The starting line and starting sample parameters define the upper left corner of the sub-area. The number of lines and number of samples define offsets to the lower right corner of the sub-area. SL and SS have defaults of one and NL and NS default to the number of lines and samples in the image, respectively.

LINC and SINC

These parameters are used to subsample the input image in the line and/or sample directions. Linc and Sinc must be equal to or greater than one. Both parameters have a default of one.

Note that Linc and Sinc affect the actual number of lines and samples in the output image. For example, given SL of 1, NL of 500 and LINC of 2; 250 lines will be written to the output image.

Uses

Dk2dk can be used to extract areas of interest from large images, so they can be studied, enhanced and/or analyzed without the processing overhead of the larger image. The processed sub-area can be reinserted into the larger image using the program DIGMOS.

This program can also be used to quickly make a copy of an image and its associated files by using the default values for the parameters.

Examples

From left to right, original Landsat MSS Band 6 and extracted sub-area.

[Example Image] [Example Image]

See Also

Scale 
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:24 MST 2002
FirstGov: Your First Click to the U.S. Gov ernment