Opotekenvirdr: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(Created page with '===Purpose=== Reads OPOTEK ENVI image files. ===Synopsis=== : out = opotekenvirdr : out = opotekenvirdr(filenames) : out = opotekenvirdr('filename') : out = opotekenvirdr({'fi…')
 
imported>Scott
No edit summary
 
Line 1: Line 1:
===Purpose===
===Purpose===


Reads OPOTEK ENVI image files.
Reads ENVI image files.


===Synopsis===
===Synopsis===
Line 12: Line 12:
===Description===
===Description===


ENVI format has two files, .hdr (header) and .img (binary image). All file pairs must have the same name.
ENVI format has two files, .hdr (header) and .img (binary image, sometimes given the extension .dat or .raw). All file pairs must have the same base filename.


====Inputs====
====Inputs====

Latest revision as of 16:45, 26 June 2013

Purpose

Reads ENVI image files.

Synopsis

out = opotekenvirdr
out = opotekenvirdr(filenames)
out = opotekenvirdr('filename')
out = opotekenvirdr({'filename1' 'filename2'})

Description

ENVI format has two files, .hdr (header) and .img (binary image, sometimes given the extension .dat or .raw). All file pairs must have the same base filename.

Inputs

  • filenames = a text string with the name of an HDR file or a cell of strings of HDR filenames. If (filenames) is omitted or an empty cell or array, the user will be prompted to select a folder and then one or more files in the identified folder. If (filenames) is a blank string , the user will be prompted to select a single file.

Outputs

  • out = takes one of two forms:
  1. If input is a single file, the output is a dataset object.
  2. If the input consists of multiple files, the output is a cell array with a dataset object for each input file.

See Also

asfreadr, editds, jcampreadr, opotektiffrdr, spcreadr, xclreadr