The ENVI Header Format

Similar documents
ENVI Classic Tutorial: Atmospherically Correcting Multispectral Data Using FLAASH 2

MAIN_SNP_TOPO.dgm_2m

Lab #8: Introduction to ENVI (Environment for Visualizing Images) Image Processing

ENVI Classic Tutorial: Atmospherically Correcting Hyperspectral Data using FLAASH 2

GRASS Tutorial: Image Processing

ENVI Classic Tutorial: Classification Methods

Zeros of Polynomial Functions

The Answer to the 14 Most Frequently Asked Modbus Questions

The English translation Of MBA Standard 0301

Plotting: Customizing the Graph

The Idiots Guide to GIS and Remote Sensing

KaleidaGraph Quick Start Guide

Caml Virtual Machine File & data formats Document version: 1.4

Intel Hexadecimal Object File Format Specification Revision A, 1/6/88

There are six different windows that can be opened when using SPSS. The following will give a description of each of them.

Using Geocoded TIFF & JPEG Files in ER Mapper 6.3 with SP1. Eric Augenstein Earthstar Geographics Web:

How to use MS Excel to regenerate a report from the Report Editor

Create a folder on your network drive called DEM. This is where data for the first part of this lesson will be stored.

Tutorial 8 Raster Data Analysis

Qlik REST Connector Installation and User Guide

ES341 Overview of key file formats and file extensions in ArcGIS

w w w. g e o s o f t. c o m

b) since the remainder is 0 I need to factor the numerator. Synthetic division tells me this is true

USER MANUAL. (for version 1.53)

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Storing Measurement Data

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

Step-by-Step guide for IMAGINE UAV workflow

Files Used in this Tutorial

ERDAS Spatial Modeler Language Reference Manual

TerraColor White Paper

Zeros of a Polynomial Function

Moven Studio realtime. streaming

Hexadecimal Object File Format Specification

UNLEASHED. The Field Calculator. By Tom Neer, EDAW, Inc.

3.1 Solving Systems Using Tables and Graphs

Understanding Raster Data

Version 1.5 Satlantic Inc.

Number Representation

Solution for Homework 2

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

Structures for Data Compression Responsible persons: Claudia Dolci, Dante Salvini, Michael Schrattner, Robert Weibel

Version 4 MAT-File Format

Raster Data Structures

Reprojecting MODIS Images

GelAnalyzer 2010 User s manual. Contents

Importing ASCII Grid Data into GIS/Image processing software

Open icon. The Select Layer To Add dialog opens. Click here to display

Appendix K Introduction to Microsoft Visual C++ 6.0

Visualization and Analysis of Spectral Data Cubes an Hipe toolbox

Supervised Classification workflow in ENVI 4.8 using WorldView-2 imagery

Microsoft Excel 2010 Part 3: Advanced Excel

Andrea Bondì, Irene D Urso, Matteo Ombrelli e Paolo Telaroli (Thetis S.p.A.) Luisa Sterponi e Cesar Urrutia (Spacedat S.r.l.) Water Calesso (Marco

NAND Flash Memories. Using Linux MTD compatible mode. on ELNEC Universal Device Programmers. (Quick Guide)

2.5 Zeros of a Polynomial Functions

Sources: On the Web: Slides will be available on:

New York City Neighborhood Tabulation Areas

Chapter One Introduction to Programming

MODIS IMAGES RESTORATION FOR VNIR BANDS ON FIRE SMOKE AFFECTED AREA

Information Contents of High Resolution Satellite Images

Computer Science 281 Binary and Hexadecimal Review

Introduction to ILWIS 3.11 using a data set from Kathmandu valley.

MapInfo SpatialWare Version 4.6 for Microsoft SQL Server

Decimal to Binary Conversion

for ECM Titanium) This guide contains a complete explanation of the Driver Maker plug-in, an add-on developed for

The string of digits in the binary number system represents the quantity

Mosaicking and Subsetting Images

The Windows Shortcut File Format as reverse-engineered by Jesse Hager Document Version 1.0

13-1. This chapter explains how to use different objects.

Raster: The Other GIS Data

Touchstone File Format Specification. Rev 2.0

Levent EREN A-306 Office Phone: INTRODUCTION TO DIGITAL LOGIC

MS ACCESS DATABASE DATA TYPES

Ocean Level-3 Standard Mapped Image Products June 4, 2010

UTM: Universal Transverse Mercator Coordinate System

Portal Connector Fields and Widgets Technical Documentation

The Role of SPOT Satellite Images in Mapping Air Pollution Caused by Cement Factories

Data representation and analysis in Excel

Obtaining and Processing MODIS Data

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

The New IoT Standard: Any App for Any Device Using Any Data Format. Mike Weiner Product Manager, Omega DevCloud KORE Telematics

SQL Server An Overview

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

MARS STUDENT IMAGING PROJECT

Systems I: Computer Organization and Architecture

How to georectify an image in ArcMap 10

MS Access: Advanced Tables and Queries. Lesson Notes Author: Pamela Schmidt

Resolutions of Remote Sensing

Data Storage 3.1. Foundations of Computer Science Cengage Learning

Raima Database Manager Version 14.0 In-memory Database Engine

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

SMEX04 Land Use Classification Data

for Invoice Processing Installation Guide

AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables

II-9Importing and Exporting Data

Microsoft Excel 2010 Tutorial

RESOLUTION MERGE OF 1: SCALE AERIAL PHOTOGRAPHS WITH LANDSAT 7 ETM IMAGERY

Transcription:

Getting Started with ENVI: Working with Header Files The ENVI Header Format The ENVI header file contains information ENVI uses to read an image data file. ENVI typically creates a header file the first time you access a data file in a format that it does not automatically recognize. You enter the required information in the Header Info dialog, which appears when the file is opened (see Creating Header Files). You can later edit the information using the Edit ENVI Header option (Editing Header Files). You can also generate an ENVI header outside ENVI using a text editor. The file must start with the text string ENVI for ENVI to recognize it as a native file header. Keywords within the file indicate critical file information. You can add comments to the file by inserting a line with a semicolon as the first character. ENVI ignores these lines when parsing the header file. Comments can appear anywhere within a header file, but they must be on their own line, and the semicolon must be the first character of that line. Comments cannot follow a keyword/value pair. A description of the keywords (in alphabetical order) for an ENVI header file follows. See Example ENVI Header File for an example header file. Table 5-1: Header File Keywords Field band names bands bbl byte order Description Allows entry of specific names for each band of an image. The number of bands per image file. Lists the bad band multiplier values of each band in an image, typically 0 for bad bands and 1 for good bands. The order of the bytes in integer, long integer, 64-bit integer, unsigned 64-bit integer, floating point, double precision, and complex data types. Use one of the following: Byte order=0 (Host (Intel) in the Header Info dialog) is least significant byte first (LSF) data (DEC and MS-DOS systems). Byte order=1 (Network (IEEE) in the Header Info dialog) is most significant byte first (MSF) data (all other platforms). class lookup class names classes This keyword pertains to classification files. It lists RGB color definitions for each respective class, and class names. This keyword pertains to classification files. It lists the classification names. This keyword pertains to classification files. It defines the number of classes, including the unclassified. 1

complex function data gain values data ignore value data offset values data type default bands default stretch dem band dem file description file type Specifies the type of image to display in complex data files. Values include Real, Imaginary, Power, Magnitude, and Phase. Gain values for each band. Currently used only in ENVI programming (see ENVI_FILE_QUERY for more information). Offset values for each band. The type of data representation, where 1=8-bit byte; 2=16-bit signed integer; 3=32-bit signed long integer; 4=32-bit floating point; 5=64-bit double-precision floating point; 6=2x32-bit complex, real-imaginary pair of double precision; 9=2x64-bit double-precision complex, real-imaginary pair of double precision; 12=16-bit unsigned integer; 13=32-bit unsigned long integer; 14=64-bit signed long integer; and 15=64-bit unsigned long integer. If set, indicates which band numbers to automatically load into the Available Bands List gray scale or R, G, and B fields every time the file is opened. By default, a new image is automatically loaded when a file that has default bands defined in its header is opened. If only one band number is used, then ENVI loads a gray scale image. Determines what type of stretch (% linear, linear range, Gaussian, equalization, square root) to use when ENVI displays the image. Path and filename of a DEM that you associate with an image. Index (starting at 1) of a selected DEM band that you associate with an image. The dem band is not written if the DEM file contains a single band, or if the first band of an image was chosen. In these cases, the dem band value defaults to 0. See Associating a DEM to a File. A character string describing the image or the processing performed. The ENVI-defined file type, such as a certain data format and processing result. The available file types are listed in the filetype.txt file (see ENVI File Type File). The file type ASCII string must match an entry in the filetype.txt file verbatim, including case. 2

fwhm geo points header offset interleave lines map info pixel size major frame offsets minor frame offsets projection info reflectance scale factor Lists full-width-half-maximum (FWHM) values of each band in an image. Units should be the same as those used for wavelength and set in the wavelength units parameter. Geographic corners for non-georeferenced files. You can enter between one and four pixel locations and their corresponding latitudes and longitudes. Following is an example: geo points = { 1.0000, 1.0000, 32.89380137, -117.07201460, 1002.0000, 1.0000, 32.87364744, -116.95855862, 1.0000, 1002.0000, 32.80628336, -117.09960891, 1002.0000, 1002.0000, 32.78615422, -116.98625969} The number of bytes of imbedded header information present in the file (for example, 128 bytes for ERDAS 7.5.lan files). ENVI skips these bytes when reading the file. Refers to whether the data are BSQ, BIP, or BIL. The number of lines per image for each band. Lists geographic coordinates information in the order of projection name (UTM), reference pixel x location (in file coordinates), pixel y, pixel easting, pixel northing, x pixel size, y pixel size, projection zone, North or South (UTM only). Note - In ENVI, pixel values always refer to the upper-left corner of the pixel. Map coordinates also typically refer to the upper-left corner of the pixel. However, if you entered "magic pixel" coordinates in the ENVI header, the map coordinates would refer to the x,y coordinates entered. For example, x=1.5, y=1.5 would make the map coordinates refer to the center of the pixel. Indicates x and y pixel size in meters for non-georeferenced files. The number of extra bytes to skip at the beginning and ending of the major frame. See Setting Row Offsets. The number of extra bytes to skip at the beginning and ending of the minor frame. See Setting Row Offsets. Describes user-defined projection information. This keyword is added to the ENVI header file if a the file uses a user-defined projection instead of a standard projection. ENVI uses this information to read the file on machines that do not contain this user-defined projection in the map_proj\map_proj.txt file. The value that, when divided into your data, would scale it from 0-1 reflectance. 3

rpc info samples sensor type spectra names wavelength wavelength units x start and y start z plot average z plot range z plot titles Lists rational polynomial coefficient (RPC) geolocation information if your input file has this associated information. See Emulating an RPC or RSM Projection. The number of samples (pixels) per image line for each band. Instrument types, such as Landsat TM, SPOT, RADARSAT, and so on. The available sensor types are the sensor.txt file described in ENVI Sensor File. The sensor type ASCII string defined here must match one of the entries in the sensor.txt file verbatim, including case. This keyword pertains to spectral library files only. It contains a comma-separated list of ASCII names enclosed in {curly brackets}. Lists the center wavelength values of each band in an image. Units should be the same as those used for the fwhm field (described next) and set in the wavelength units parameter. Text string indicating the wavelength units. Defines the image coordinates for the upper-left hand pixel in the image. Images that are spatial subsets of larger images often use an image coordinate system that references the parent (or larger) image so that you can link and dynamically overlay the two images. The default values are (1,1) so that the upper-left hand pixel has an image coordinate of (1,1). Note - Changing these values does not affect the way ENVI reads the image data from the file. Values indicate the number of pixels in the x and y directions to average for Z plots. Values indicating the default minimum and maximum values for Z plots. Allows entry of specific x and y axis titles for Z plots. Example ENVI Header File A typical ENVI header file looks like this: ENVI description = { Registration Result. Method1st degree Polynomial w/ nearest neighbor [Wed Dec 20 23:59:19 1995] } samples = 709 lines = 946 bands = 7 4

header offset = 0 file type = ENVI Standard data type = 1 interleave = bsq sensor type = Landsat TM byte order = 0 map info = {UTM, 1, 1, 295380.000, 4763640.000, 30.000000, 30.000000, 13, North} z plot range = {0.00, 255.00} z plot titles = {Wavelength, Reflectance} pixel size = {30.000000, 30.000000} default stretch = 5.0% linear band names = { Warp (Band 1:rs_tm.img), Warp (Band 2:rs_tm.img), Warp (Band 3:rs_tm.img), Warp (Band 4:rs_tm.img), Warp (Band 5:rs_tm.img), Warp (Band 6:rs_tm.img), Warp (Band 7:rs_tm.img)} wavelength = { 0.485000, 0.560000, 0.660000, 0.830000, 1.650000, 11.400000, 2.215000} fwhm = { 0.070000, 0.080000, 0.060000, 0.140000, 0.200000, 2.100000, 0.270000} Classification results files include the following additional keywords: classes = 4 class lookup = { 0, 0, 0,255, 0, 0, 0,255, 0,255,255, 0} class names = { Unclassified, region 1, region 2, region 3} Spectral library files include the following additional keywords: spectra names = { ACTINOLITE IN-4A, ALBITE TS-6A, ALMANDINE GARNET NS-4A, ALUNITE SO-4A, AMBLYGONITE P-3A, ANALCIME TS-18A, ANATASE SYNTHETIC O-12A, ANDESINE TS-4A, ANGLESITE SO-10A, ANHYDRITE SO-1A, ANORTHITE TS- 5A, ANTHOPHYLLITE IN-8A, ANTLERITE SO-11A, APATITE P-1A, APHTHITALITE SO-9A} ENVI Help (October 03, 2007) 5