NV5 GEOSPATIAL SOFTWARE
Products
ENVI
ENVI Connect
ENVI Discover
ENVI Inform
ENVI Edge
ENVI Deep Learning
ENVI SAR
Helios
IDL
Solutions
ENVI Ecosystem
Defense & Intelligence
SAR Solutions
Custom Solutions
Academic
Industries
Climate Science
Disaster Management
Fed/Civil
Precision Agriculture
Transportation
Utilities
Learn
Case Studies
Videos
Blogs
Brochures
Whitepapers
Learning Tools
ENVI Quick Guides
ENVI Pocket Guides
E-Learning Program
Tutorials
Support
Self Help Tools
Documentation Center
Help Articles
Tutorials
Forums
Company
About NV5 Geospatial
Careers
News
Events
Contact Us
|
X
Products
ENVI
ENVI Connect
ENVI Discover
ENVI Inform
ENVI Edge
ENVI Deep Learning
ENVI SAR
Helios
IDL
Solutions
ENVI Ecosystem
Defense & Intelligence
SAR Solutions
Custom Solutions
Academic
Industries
Climate Science
Disaster Management
Fed/Civil
Precision Agriculture
Transportation
Utilities
Learn
Case Studies
Videos
Blogs
Brochures
Whitepapers
Learning Tools
ENVI Quick Guides
ENVI Pocket Guides
E-Learning Program
Tutorials
Support
Self Help Tools
Documentation Center
Help Articles
Tutorials
Forums
Company
About NV5 Geospatial
Careers
News
Events
Contact Us
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Prev
Go to previous topic
Next
Go to next topic
Last Post 15 Mar 2017 04:52 AM by
anon
majority/mode from bands
2 Replies
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
anon
New Member
Posts:
15 Mar 2017 04:52 AM
Is there any tool, or band math function, that can compute the majority or mode from bands of the image? I mean that I want to know for each pixel, the value that is most frequent through all the bands of the image. For example: Image with 3 bands, for pixel(i,j) values are: b1=2, b2=3, b3=3 the result should be: majority=3 Actually I need this to combine different classification results and for each pixel select the most frequent class.
MariM
Veteran Member
Posts:2396
15 Mar 2017 08:30 AM
There is no function in ENVI or IDL that calculates the statistical mode of an array but there is an example of how it could be done here:
http://www.idlcoyote.com/code_tips/mo...
Deleted User
New Member
Posts:
16 Mar 2017 06:46 AM
Thanks, I tried to use the function from the link, but as a result I got 0 value in each pixel. As the argument for the function should be an array, I typed in the band math such expression: mode([b1, b2, b3]) I still look for the solution....
You are not authorized to post a reply.
Forum Groups & Categories
--NV5 Geospatial Software
----Licensing & Installation
----General Questions
Products
--ENVI
----ENVI
----ENVI LiDAR
----ENVI SARscape
--IDL
--Enterprise
----ENVI Server
Forums
Products
ENVI