X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



4123 Rate this article:
No rating

Adding Custom Colors to the ROI Tool


The ENVI ROI Tool allows users to chose from 50 pre-defined colors during ROI creation. However, for some users this choice may not be enough or they would prefer to use their own custom colors. Adding these colors can be easily done using the steps outlined below.
  • Open 'colors50.txt ' which, assuming default installation, is located in the following directory:
    C:\Program Files\ITT\IDL\IDLxx\products\envixx\menu  --------> ENVI 4.X
    C:\Program Files\Exelis\ENVI50\classic\menu  -------- > ENVI 5.0
       
    This is the ENVI color menu for the ROI tool. Add the RGB values of the custom colors to the end of this file. Color names can be added as well. Here is an example of the syntax for 3 colors:

    206 0 255 Goofy Grape
    0 232 255 Swimming Pool
    133 255 0 Slime Green

  • Once the last color name has been entered hit the 'Enter' key to start a new line. ENVI needs this carriage return to correctly accept the contents of the file.

  • Save the file. For ENVI to recognize the changes it is necessary to re-start ENVI. The fastest way is to type in the following at the command prompt:

    ENVI> .f             ( This is a shorthand for .FULL_RESET_SESSION which is a full reset of the ENVI/IDL session.)

    Then:
    IDL> envi

    ...to restart the ENVI session. ENVI Runtime users will need to manually close and restart ENVI. When you go to chose your new colors you should see them in the second list; Colors 21-40

 

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »