|  |  |  |  | 
						
						
						
							| 
									
									| 
 | 0 Replies and 6477 Views
										Change Color Table  6477  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Question: Is there API access to the 'Change Color Table' for grayscale images     In the ENVI UI, one can change from using a 'Grayscale' for a single band to some other color table: Select the layer in the view, right click, and then  'Change Color Table'. It is mentioned on the Help page 'Raster Layers'.  However, I cannot find any reference to an API for programmatically changing/setting the Color Table.     ENVIRasterLayer does not show a color table choice. One can set a 'Quick_Stretch', ... |  |  |  | 0 | 6477 | 13 Feb 2024 12:47 PM | 
						
						
						
							| 
									
									| 
 | 0 Replies and 3841 Views
										Replacing pixel values depending on minimum value band.  3841  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Need help handling MRDR products from the Mars Reconnaissance Orbiter. The multispectral data has 72 listed channels inside the header, and their corresponding band centers in nanometers. The pixel values represent reflectance. I have created new band stacks around the wavelengths where the absorption bands I'm looking for reside.    From these selected bands, a minimum reflectance value has to be found on a pixel basis. I did this with the Compute pixel statistics tool, but it is not suitable f... |  | 
 |  | 0 | 3841 | 30 Jan 2024 09:42 AM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 3368 Views
										histogram - change the binsize  3368  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi everyone,
when I get the histogram values, I showed the binsize was equal to 17. How can I have a binsize = 1 
I looked in "compute statistics" but I couldn't find where to modify that parameter...
 
Thank you,
Catherine |  |  |  | 2 | 3368 |  by  Deleted User  10 Oct 2023 09:34 AM | 
						
						
						
							| 
									
									| 
 | 8 Replies and 8803 Views
										band math - if  8803  8
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Using band math is there a way that I could assign all values that equal zero to another value without affecting the other digital numbers.
For example how could I write if b1=0 make equal to 100
Thanks |  |  |  | 8 | 8803 |  by  Deleted User  15 Sep 2023 07:51 AM | 
						
						
						
							| 
									
									| 
 | 0 Replies and 3581 Views
										ENVI 5 equivalent to User Defined Motion Routine  3581  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I had written a tool long ago for use with the setting 'ENVI User Defined Motion Routine'.  What I am trying to do is something similar, but with the modern ENVI (i.e., ENVI 5 and later), which, as far as I can tell, does not have this setting.     I understand that if I write I procedure with an e=envi() call, I can certainly use it for mouse motion events, such as in the help pages for Advanced Concepts -> Event Handler Class.    Another 'help' page says: 'In the main program where you run ENV... |  |  |  | 0 | 3581 | 15 Sep 2023 07:47 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 2110 Views
										No data areas classified  2110  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi, I use ENVI 5.6.3 for my drone imagery analysis. The background around of my region of interest is set to No Data via edit metadata with the data ignore value set to 0, and thus appears as white (or mabye this is transparent). I am applying thresholds via the decision tree classifer to classify my drone imagery into bare, herbaceous and woody classes. But, the background area also gets classified as bare, which affects the statistics and the confusion matrix calculations. I tried to subset th... |  |  |  | 1 | 2110 |  by  Deleted User  15 Sep 2023 07:16 AM | 
						
						
						
							| 
									
									| 
 | 5 Replies and 3294 Views
										Re-Scale Landsat Data  3294  5
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										When I downloaded Landsat data and imported the MTL file to ENVI in the past, I needed to perform Spectral Math to re-scale the data per USGS information.    Meaning, if the Landsat metadata's REFLECTANCE_MULT_BAND_1 = 2.75e-05 and REFLECTANCE_ADD_BAND_1 = -0.2, I would enter the expression: 's1*.0000275 - 0.2' and then Map Variable to Input File.    Now, when I perform Spectral Math steps on Landsat Collection 2, Level-2 data, the resulting spectra do not look right. When I don't perform Spectr... |  | 
 |  | 5 | 3294 |  by  MariM  31 Aug 2023 10:28 AM | 
						
						
						
							| 
									
									| 
 | 4 Replies and 7823 Views
										Error in opening landsat 8 tif  7823  4
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello, 
I use ENVI Version 5.0. I have LANDSAT8 data that I download from the web. Although it worked in the past, I cannot open the files properly:
I use: Open AS - Landsat - geotiff with metadata text file, select the MTL file, and get the error message:
"File does not appear to be a valid tiff file"
Although I use the original TIFF files and it worked in the past.
The problem is with images from the Sixth of June 2013, path 174 row 37-39.
Thanks 
Gilad |  |  |  | 4 | 7823 |  by  Deleted User  23 Jul 2023 08:35 AM | 
						
						
						
							| 
									
									| 
 | 0 Replies and 2082 Views
										Spatial size issue in executing Decision Tree  2082  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I am trying to run a Decision Tree based classification using LiDAR and NDVI images. The projection is the same.  The pixel size was different, but I resampled the LiDAR to match the NDVI's image pixel size, hoping that would resolve the issue.   The spatial extension is slightly different as the sensors were flown separately, and the pixels are not lining up perfectly. Could that be causing the problem  I'd be glad to learn a bit more about how data consumption works when working with the Deci... |  | 
 |  | 0 | 2082 | 07 Jul 2023 11:46 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 2106 Views
										FLAASH on WorldView-3 producing negative values  2106  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have an 8 band WorldView-3 multispectral image. I am trying to process it to surface reflectance using ENVI. The trouble is I keep getting strong negative values of the reflectance, with no data areas rendered in bright blue, probably due to colour stretching.    My procedure is:    1. Import WV3 .TIL file. This imports metadata such as FWHM, gains and offsets.  2. Resize (clip) the raster to remove no data values around the edge of the image.  3. Use the radiometric calibration tool with the ... |  |  |  | 1 | 2106 |  by  Deleted User  05 Jul 2023 02:24 PM | 
						
						
						
							| 
									
									| 
 | 0 Replies and 2654 Views
										Empty Annotation Layer Crashes ENVI  2654  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										This occurred to me on ENVI for Mac (MacOS 13.3.1, ENVI 5.6.3, XQuartz 2.8.5). It took me a while to figure out why restoring a session file would cause ENVI to crash, so I am posting this here in case someone else runs into the same issue. Not sure if this issue happens on ENVI for Windows/Linux.    Steps to reproduce:    1. Add an image (e.g. qb_boulder_msi)  2. From Annotations drop-down menu button select Text  3. Click on the image to create the Annotation layer but don't type any text or a... |  |  |  | 0 | 2654 | 02 May 2023 10:40 PM | 
						
						
						
							| 
									
									| 
 | 0 Replies and 2363 Views
										Multiband operation in ENVI  2363  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have 07 bands/layers stacked into one image (say Test.hdr or test.dat) using band stack operation in ENVI. I have 07 floating values (kept in one dimensional array) corresponding to seven bands in a separate text file (e.g.  (1.2, 1,3, 0.3, 3.4, 2.1, 2, 1). I want to divide first band of test.dat with first value in my array of 07 Numbers. Then second band of Test.dat with second number in the array and so on. I want to generate the output file as seven bands stacked in one file only. How to g... |  |  |  | 0 | 2363 | 30 Apr 2023 11:29 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 2396 Views
										FLAASH with gaps in the SWIR region  2396  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello,    I am trying to convert PRISMA images from TOA to BOA using FLAASH, but once prepocessed the spectrum of the FLAASH file gets gaps in the SWIR region.    Can you tell what might be causing this    Thanks |  |  |  | 1 | 2396 |  by  MariM  29 Mar 2023 06:06 AM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 2442 Views
										Envi Classic Loading Image File Multiple Times  2442  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Envi Classic 5.3.1  RHEL 6.10  HP ProLine Gen9    I'm observing this behavior on one of the systems.  After I open an image file and select 'Load Band' from the 'Available Bands List' window, 'Input Data From Disk' window is displayed more than 10-30 times.  It should appear once.  This happens to the most of images I open specially the first image file.    Is this some configuration issue (since this is observed on a one system so far)    Thanks in advance.    DH |  |  |  | 2 | 2442 |  by  Deleted User  22 Mar 2023 04:49 AM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 3170 Views
										ENVI vs. ENVI Classic: Identical Data but Different Outputs  3170  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Using the same input Collection 2, Level-2 Landsat data set (spatially and spectrally subset, values below 0 and above 1 masked, both WGS 1984 UTM Zone 11N, pixels reportedly 30 m) to perform Linear Spectral Unmixing, I observe different ROI pixel coverage and reported areas depending on whether I use ENVI Classic  IDL (64-bit) or 'New' (ENVI 5.6.3  IDL 8.8.3, 64-bit).    When I use the ROI Tool with the three ROIs that have 6, 6, and 3 pixels (which I created in ENVI 'New'): When I apply thos... |  | 
 |  | 2 | 3170 |  by  Deleted User  21 Feb 2023 01:03 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 2382 Views
										Bug in Image Registration Workflow  2382  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I am running the image co-registration workflow in ENVI 5.6.2, but it keeps asking to overwrite the tie-points file, restarting the co-registration  and so on and so forth.    I have two file: BaseFile.dat (with corresponding BaseFile.hdr), WarpFile.dat (with corresponding WarpFile.hdr). I try to co-register them with the image co-registration workflow, I reach the window where it runs the co-registration, the progress bar finishes, then instead of completing the procedure ENVI keeps asking if I... |  |  |  | 1 | 2382 |  by  MariM  02 Feb 2023 11:54 AM | 
						
						
						
							| 
									
									| 
 | 3 Replies and 3114 Views
										DEM extraction  3114  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi,
I have worldview stereo imagery that i plan to use to extract a DEM. However, the imagery lies across two swaths and has two seperate pairs of RPC files. Although i can mosiac the imagery, the DEM extraction wizard only gives you the option to select one RPC file. After some googling i notice that Geomatica OrthoEngine has an option to stitch imagery together and combine the relative RCP files. Is this possible in ENVI
Thanks in advance of any advice.
Andy |  |  |  | 3 | 3114 |  by  Deleted User  27 Jan 2023 01:12 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 3371 Views
										Subset Data from ROis in ENVI 5.6.2  3371  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										We purchased a copy of ENVI 5.6.2 last year in October. Our motive is to work with a novel ocean-centric Hyperspectral data, named WISE in ENVI. We are looking to extract reflectance value from specific ROis for hyperspectral data (from an experimental sensor, so not registered on any software). I have field station data I wanna compare to our hyperspectral imagery reflectance value. We found ENVI very useful to read/write the large hyperspectral tiles and see the variation in spectral reflectan... |  |  |  | 1 | 3371 |  by  MariM  25 Jan 2023 11:00 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 2718 Views
										ASCII file with wavelengths and FWHM  2718  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi,    I'm using the FLAASH tool on some pre-processed data in which the band information has been lost. The tool is asking for the 'ASCII Filename containing wavelengths and fwhm'. I have the band details but I need to know what format the ASCII file is in. As in: what are the column and row names, what units should each value be in.    Thanks |  |  |  | 1 | 2718 |  by  MariM  27 Dec 2022 08:21 AM | 
						
						
						
							| 
									
									| 
 | 3 Replies and 3539 Views
										EO1-ALi data  3539  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										How do I import EO1-Ali L1GST images into ENVI..Also for atmospheric correction, when asked for the sensor type; ALI sensor is not in the list...so how do i proceed with it. |  |  |  | 3 | 3539 |  by  MariM  29 Nov 2022 06:05 AM |