comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: ENVI Classification File
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: ENVI Classification File [message #79101 is a reply to message #79084] Thu, 26 January 2012 06:33 Go to previous message
Brian Daniel is currently offline  Brian Daniel
Messages: 80
Registered: July 2009
Member
On Jan 26, 7:17 am, Steffen Reich <shogo...@web.de> wrote:
> Hello,
>
> I meet a a problem, that I didn't expected. I have a classified image in
> the ENVI Classification file format. If I want to read this file with
> the ENVI_GET_Data command the whole data is read in the ENVI standard
> format and the whole rgb values of the classification aren`t transfered.
> Do you have any hints how I can solve this problem?
>
> Greetings
> Steffen

First, confirm your ENVI Classification file is indeed what you think
it is by looking in the header file. Then, use ENVI_FILE_QUERY to
retrieve LOOKUP and CLASS_NAMES. LOOKUP provides a [3,num_classes]
array of color triplets for each class. You can then apply that by
loading it into the color table to display the data from
ENVI_GET_DATA.

-B
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: list trouble
Next Topic: Re: list trouble

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 17:33:11 PDT 2025

Total time taken to generate the page: 1.04131 seconds