You are on page 1of 2

Binary Encoding (Using ENVI) | Exelis VIS Docs Center

10/18/2015

Docs Center

IDL Programming

ENVI

ESE

Resources

exelisvis.com / Docs Center / Using ENVI / Classification / Classification Tools / Supervised Methods / Binary Encoding
ENVI

Binary Encoding

The binary encoding classification technique encodes the data and endmember spectra into zeros and ones, based on
whether a band falls below or above the spectrum mean, respectively. An exclusive OR function compares each encoded
reference spectrum with the encoded data spectra and produces a classification image. All pixels are classified to the
endmember with the greatest number of bands that match, unless you specify a minimum match threshold, in which case
some pixels may be unclassified if they do not meet the criteria.
Reference
Mazer, A. S., Martin, M., Lee, M., and Solomon, J. E., 1988, Image Processing Software for Imaging Spectrometry
Analysis, Remote Sensing of Environment, v. 24, no. 1, p. 201-210.
1. Select one of the following:
From the Toolbox, select Classification > Supervised Classification > Binary Encoding Classification.
From the Endmember Collection dialog menu bar, select Algorithm > Binary Encoding.
The Classification Input File dialog appears.
2. Select an input file and perform optional spatial and spectral subsetting, and/or masking, then click OK. The Binary
Encoding Parameters dialog appears.
3. In the Select Classes from Regions list, select ROIs and/or vectors as training classes. The ROIs listed are
derived from the available ROIs in the ROI Tool dialog. The vectors listed are derived from the open vectors in the
Available Vectors List.
4. Select one of the following thresholding options from the Set Minimum Encoding Threshold area:
None: Use no threshold.
Single Value: Use a single threshold for all classes. Enter a decimal percentage value (from 0.0 to 1.0) in the
Minimum Encoding Threshold field. The percentage value represents the number of bands that must match.
Multiple Values: Enter a different threshold for each class. Use this option as follows:
5. In the list of classes, select the class or classes to which you want to assign different threshold values and click
Multiple Values. The Assign Minimum Encoding Threshold dialog appears.
6. Select a class, then enter a threshold value in the field at the bottom of the dialog. If you do not enter a minimum
value, ENVI classifies all pixels. Repeat for each class. Click OK when you are finished.
7. Select classification output to File or Memory.
8. Use the Output Rule Images? toggle button to select whether or not to create rule images. Use rule images to
create intermediate classification image results before final assignment of classes. You can later use rule images in
the Rule Classifier to create a new classification image without having to recalculate the entire classification.
9. If you selected Yes to output rule images, select output to File or Memory.
10. Click Preview to see a 256 x 256 spatial subset from the center of the output classification image. Change the
parameters as needed and click Preview again to update the display.
11. Click OK. ENVI adds the resulting output to the Layer Manager. If you selected to output rule images, ENVI
creates rule images for each class with the pixel values equal to the percentage (0-100%) of bands that matched that
class. Areas that satisfied the minimum threshold are carried over as classified areas into the classified image.

Search docs...

Product

ENVI

Version

5.3

See also:
Adaptive Coherence Estimator
Binary Encoding
Constrained Energy
Minimization
Mahalanobis Distance
Maximum Likelihood
Minimum Distance
Neural Net
Orthogonal Subspace
Projection
Parallelepiped
Spectral Angle Mapper
Spectral Information
Divergence
Support Vector Machine

Table of Contents
What's New in This Release
Explore Imagery
Preprocessing
Band Math and Spectral Indices
Mosaic
Georectification
Anomaly, Change, and Target Detection
Classification
Feature Extraction
ENVI LiDAR
Filters
Radar Tools
Spectral Tools
Topographic Tools
ROIs, Vectors, Annotations
Vegetation Analysis
Programming
Tutorials
About ENVI
Application Shortcuts
Supported Data Types
Preferences

From Mike Galloy's Blog


Hans Rosling: Dont use
news media to understand
the world
IDL wish list: vectorized
ternary operator
Bar chart baselines start at
zero
IDL 8.5: other stuff
http://www.exelisvis.com/docs/BinaryEncoding.html

1/2

Binary Encoding (Using ENVI) | Exelis VIS Docs Center

10/18/2015

Video Tutorial
Spatio Temporal Analysis in
ENVI

This informa on is not subject to the controls of the I nterna onal Trac in Arms Regula ons (I TAR) or the Export Administra on
Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.

PRODUCTS & SERVICES

INDUSTRIES

LEARN

SUPPORT

COMPANY

ENVI

Defense & Intelligence

Code

Forums

Mission

IDL

Environmental Monitoring

Videos

Help Articles

Careers

Professional Services

Academic

Events & Training

Reference Guides

Press Room

Case Studies

Updates & Maintenance

Legal

Whitepapers

Exelis, Inc

Resources

2015 Exelis Visual Information Solutions

Register | Login

http://www.exelisvis.com/docs/BinaryEncoding.html

2/2

You might also like