Questions tagged [envi]

Use this tag for programming-related questions about the GIS app ENVI and its API.

ENVI is an application for processing and analyzing geospatial imagery, released by Harris Geospatial.

Links

39 questions
2
votes
2 answers

How to iteratively load read_pixel and write to envi file; python3

I want to load hyperspectral data per pixel into an array and write this pixel out again using Python 3.5. I want to calculate something with the spectral information of this Pixel. I have tried two different ways and both don't work the way I…
AnneR
  • 31
  • 5
2
votes
0 answers

How to read HDR envi image in the Java (using GDAL or Opencv)?

I have a HDR envi image with 160 bands and this image has 4 GB as size. Each band for each pixel (row, column) has a double value associated (a reflectance value). In addition, each pixel has a geographical point associated. I can read it by using…
Anderson Carniel
  • 1,711
  • 2
  • 16
  • 22
2
votes
1 answer

GDAL ReadAsArray() returns just nan values when trying to read ENVI file

I am trying to read an ENVI file as an array using GDAL and Python Image info are following: Driver: ENVI/ENVI .hdr Labelled Files: IMG-VV-ALPSRP248213250-P1.1__D_pwr_geo_sigma IMG-VV-ALPSRP248213250-P1.1__D_pwr_geo_sigma.hdr Size is 1659,…
Dimitris
  • 485
  • 1
  • 4
  • 16
2
votes
2 answers

How does one remove intermediate files in the ENVI 5.0 API?

I have the following problem with the ENVI 5.0 API: I often use ENVI_DOIT batch routines in my scripts to generate intermediate images, leaving them in memory with the /IN_MEMORY switch. When I'm done with them I get rid of them with …
MortCanty
  • 317
  • 1
  • 2
  • 11
1
vote
0 answers

How to open/read an ENVI file in R

I'm new at using GIS with R and I'm trying to open an ENVI file containing hyperspectral data following the suggestions from this post R how to read ENVI .hdr-file?, but I don't seem to be able to do so. I tried three different approaches but all of…
1
vote
1 answer

Converting variable to FID for image in ENVI+IDL?

I'm beginning to use ENVI+IDL (most of this relates to IDL, I think, in case you know one but not the other) at work, completely new to both. Since ENVI isn't an existing tag, I'll explain that it's a toolkit and GUI, integrated with IDL, for…
malenkylizards
  • 223
  • 1
  • 4
  • 13
1
vote
1 answer

How to read wavelength information from envi file in spectral python libraray?

I am working on hyperspectral imagery which is in envi format. I have successfully read it using spectral python library. Now , I want to get each band (wavelength center). Kindly suggest method for this task.
KHIZER
  • 21
  • 4
1
vote
3 answers

R how to read ENVI .hdr-file?

To extract specific information of a ENVI .hdr-file I want to read it into R, using caTools::read.ENVI(). Unfortunately R just throws ERROR messages and I do not have a clue how to solve this problem. What I have tried so far is following: #…
ExploreR
  • 313
  • 4
  • 15
1
vote
0 answers

QGIS How do I set the spatial resolution of a raster?

I have some files that started out as .hdf files and I have converted them to TIFFs after some destriping. These images have no spatial reference and have been defaulted to 1 pixel = 1 degree. This comes out to 111,319.419 meters per pixel. Can I…
Eric
  • 45
  • 5
1
vote
1 answer

read multiple ENVI files and combine them in one csv

I'm fairly new in working with R but trying to get this done. I have dozens of ENVI spectral datasets stored in a directory. Each dataset is seperated into two files. They all have the same name convention,…
dan_ke
  • 147
  • 6
1
vote
1 answer

HOW to get the same ENVI result in IDL using CONVOL function?

I am using ENVI to perform a convolution, With Median set, a kernel size of 5, and an Image Add Back value of 0% The results in ENVI are really good, When I try to do the same using CONVOL in IDL I can’t manage to get it to work the same way, Here…
user2333346
  • 1,083
  • 4
  • 21
  • 40
1
vote
0 answers

IDL set value to cell

I am writing test app, that should read file name and print it in cell of spreadsheet. I can't understand how to put filename value to cell. Here is my code: PRO test ;D:\Proj\2\test1\data\HTML5_Logo_256.png title='my example' base =…
Dmitry Bubnenkov
  • 9,415
  • 19
  • 85
  • 145
0
votes
1 answer

Error when trying to calculate mean and SD of environmental dataset with loop from .nc data

I was trying to calculate mean and SD per month of a variable from an environmental dataset (.nc file of Sea surface temp/day during 2 years) and the loop I used gives me the following error Error in h(simpleError(msg, call)) : error in…
0
votes
0 answers

IDL loop SplitTask

Raster: This is an array of the same raster 100 times, as I want to repeat the process 100 times on the same raster. ROI: region of interest points. foreach iterator_1, raster, iterator_1_index do begin ExtractTask=…
0
votes
1 answer

How to run IDL procedure to perform Band Math on all band?

I tried to work with images using IDL Band Math. The images have 90 bands and set variable pos=[0,1...90,],but only get one band(band1) into last.tiff PRO bandmath compile_opt IDL2 e = envi() Path =…
timer
  • 11
  • 1
1
2 3