Home
Industry Solutions
Precision Agriculture
Utilities
Fed/Civil
Defense & Intelligence
Academic
Maritime
Products and Technology
Software
ENVI
Jagwire
IDL
Geospatial Services Framework
Data Services
Geiger-mode LiDAR
Satellite & Aerial Imagery
Data Derived Products
Satellite AIS
Custom Solutions
Extend Desktop/Enterprise Software
Application Development
Machine Learning
About the CSG Team
Marketplace
Search & Discover Data Portal
Sample Data
Software
Support
Forums
Extensions
Self Help Tools
Documentation Center
Tutorials
Help Articles
Request Technical Support
Maintenance
Learn
Case Studies
Whitepapers
Training
Videos
Blogs
Brochures
Company
About Harris Geospatial Solutions
Core Technology
News
Careers
Partners
Events
Tradeshows
UAV-expo
Webinar
Contact Us
Loading
Register
|
Login
X
Home
Industry Solutions
Precision Agriculture
Utilities
Fed/Civil
Defense & Intelligence
Academic
Maritime
Products and Technology
Software
ENVI
Jagwire
IDL
Geospatial Services Framework
Data Services
Geiger-mode LiDAR
Satellite & Aerial Imagery
Data Derived Products
Satellite AIS
Custom Solutions
Extend Desktop/Enterprise Software
Application Development
Machine Learning
About the CSG Team
Marketplace
Search & Discover Data Portal
Sample Data
Software
Support
Forums
Extensions
Self Help Tools
Documentation Center
Tutorials
Help Articles
Request Technical Support
Maintenance
Learn
Case Studies
Whitepapers
Training
Videos
Blogs
Brochures
Company
About Harris Geospatial Solutions
Core Technology
News
Careers
Partners
Events
Tradeshows
UAV-expo
Webinar
Contact Us
Help Forums - Support | Harris Geospatial
Support
Forums
Forum Groups & Categories
General Questions
SAM classification using ASCII file
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Prev
Go to previous topic
Next
Go to next topic
Last Post 02 May 2016 12:44 PM by
Samira Safaee
SAM classification using ASCII file
6 Replies
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Samira Safaee
New Member
Posts:4
02 May 2016 12:44 PM
We are trying to create a comprehensive spectral libraries for both 'soil' and 'salt' based on 8 study areas and use those spectral libraries in Spectral Angle Mapper algorithm in order to map the salt pans existed in the entire world. To do so we need to use ASCII files which contain only band values of each individual pixel in each band without location information. I have read that the right format for importing spectral information is the one that has 2 columns of number of bands and mean values of ROIs. Below is an example of an ASCII file that can easily be set up in notepad. Since my preference is using the first type of output (values for all bands), is there any way by which I can use information – in my preferred format – as input to my algorithm?
Mari Minari
Veteran Member
Posts:1872
02 May 2016 03:00 PM
When you use SAM in ENVI, you will need to supply one mean spectrum per training class. Do you plan on running SAM with each spectrum for a training class? It is correct that if you want to make a spectral library from an ascii file, you will need have the spectra in columns with the first column as wavelength and then subsequent columns representing each pixel or material.
Samira Safaee
New Member
Posts:4
02 May 2016 03:23 PM
For now, we have already sampled ROIs from several selected representative images, our questions now are i) how can we export these ROIs to a training data which records the band values for ALL pixels within the ROIs (not only the means with the ROIs; should we export them into an ASCII file)? and ii) after that, how can we use the exported training data into a supervised classification (such as Maximum likelihood; it seems like the current design only takes ROIs)?
Mari Minari
Veteran Member
Posts:1872
03 May 2016 06:11 AM
You can export the ROI as ascii and it will contain all pixel values for all bands. However, the SAM algorithm takes the mean spectrum or a single spectrum which can be from an ROI or a spectral library. However, spectral libraries are not designed to be collections of pixels for a classification training data set - this is what ROIs are for. Maximum likelihood must take a collection of pixels from an ROI or shapefile so that it can calculate covariance. It cannot accept a single or mean spectrum as input. What is the purpose of having the pixels of a training data class as a spectral library?
Samira Safaee
New Member
Posts:4
03 May 2016 02:45 PM
I wanted to create and use a comprehensive training data generated from different ASCII files. But SAM only works with the mean values. How can I use all exported ASCII files which contain all pixel's value as training data for other types of supervised algorithms?
Mari Minari
Veteran Member
Posts:1872
04 May 2016 07:32 AM
In this case, you use ROIs. You can also sometimes use the statistics file of one file to classify another as described in this help article:
http://www.harrisgeospatial.com/Suppo...
Samira Safaee
New Member
Posts:4
05 May 2016 10:35 AM
Okay, I will read through this article. Thank you so much.
You are not authorized to post a reply.
Forum Groups & Categories
--Harris Geospatial Solutions
----Licensing & Installation
----General Questions
Products
--ENVI
----ENVI LiDAR
----ENVI
----ENVI SARscape
----ENVI OneButton
--ENVI SARscape
--IDL
--Enterprise
----ENVI Services Engine (ESE)
----Jagwire
----ENVI for ArcGIS Services Editi...
Forums
Forum Groups & Categories
General Questions