>  Docs Center  >  Using ENVI  >  Resize Data
ENVI

Resize Data

Resize Data

Use Resize Data to set x/y factors, output pixel size, and resampling values for an output raster file.

  1. From the Toolbox, select Raster Management > Resize Data. The Resize Data Input File appears.
  2. Perform optional spatial subsetting.
  3. Click OK. The Resize Data Parameters dialog appears.
  4. Either enter the number of Samples and Lines in the corresponding fields, or enter the multiplicative x and y enlargement or reduction factors in the xfac and yfac fields and press Enter. The Output Size field updates.
  5. Note: If your image contains map information, you can determine the number of output sample and lines based upon the desired output pixel size by clicking Set Output Dims by Pixel Size.

    • If the xfac and yfac values are greater than or equal to 1, select Nearest Neighbor, Bilinear, or Cubic Convolution, from the Resampling drop-down list (see Warp and Resample).
    • If the xfac and yfac values are less than 1, select from Nearest Neighbor or Pixel Aggregate resampling options.
    • You can control x and y scales independently. Enter values less than 1 to reduce the image and values greater than 1 to enlarge the image. The number of output samples and lines are updated.
    • Nearest Neighbor resampling uses the nearest pixel value as the output pixel value.
    • Pixel Aggregate resampling averages all the pixel values that contribute to the output pixel. If you enter 0.5 for both xfac and yfac, the output pixel values are calculated by averaging the four input pixel values.
  6. Select output to File or Memory.
  7. Click OK.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us