|
|
|
|
|
4 Replies and 3447 Views
Layer stacking with ENVI API 3447 4
Started by Deleted User
Hello,
i am trying to use the ENVILayerStackRaster function. In particular, i need to execute the layer stacking with the option "Exclusive: range encompasses file overlap" but i do not find any function option to do this.
The routine ENVI_LAYER_STACKING_DOIT has the /EXCLUSIVE option but it is obsolete and has been replaced by ENVILayerStackRaster.
Thank you for any feedback.
|
|
|
|
4 |
3447 |
23 Jan 2017 04:15 AM |
|
3 Replies and 2921 Views
FLAASH error modrd5 on worldview2 2921 3
Started by Deleted User
I get an error when I run FLAASH (envi5.3) on a worldview2 image. The error message in the journal file is ACC error... IDL error: -267 READU: End of file encountered. Unit: 102 File: /tmp/acc_modroot.fla in context: modrd5:reading archive file header calls: ACC_MODRD5 ACC_HYPER2 ACC_ACC ENVI_ACC_EVENT ENVI_FLAASH_PROCESS_MANAGER $MAIN$ The file acc_modroot.fla is empty. I read an old forum post about this error mesage and tried the suggestions, but it still faceplants.
|
|
|
|
3 |
2921 |
19 Jan 2017 05:38 PM |
|
12 Replies and 2989 Views
FLAASH (non Blue) error 2989 12
Started by Deleted User
Hello I have the following error, applying FLAASH to HYPERION
ACC error: autochan: Known bad band include FLAASH-critical bands:90
ACC error: autochan: Known bad band include FLAASH-critical bands:49
I use Hyperion Tool to generate the Radiance file, I change the first 7 bands to good bands, I try changing band 90 and 49 to bad and good, but in all cases the trouble persist.
Any help
Jose Manuel Lattus
|
|
|
|
12 |
2989 |
17 Jan 2017 08:22 AM |
|
2 Replies and 2245 Views
Compute the number of records from a ROI 2245 2
Started by Deleted User
Hello,
which is the ENVI API or IDL function to extract the number of records from an envi ROI xml file
I need to
compute statistics from each record
delete single record
That is my code:
file_xml = 'myroifilepath'
rois_xml = e.OpenRoi(myroifile)
; open raster to determinate statistics
msi_file = 'myrasterpath'
msi_raster = e.OpenRaster(msi_file)
; for each roi inside rois_xml select each that has the name EQ to a certain string:
foreach rois_xml_obj, rois_xml DO Begin
IF (rois_xml_o...
|
|
|
|
2 |
2245 |
13 Jan 2017 04:40 AM |
|
2 Replies and 7561 Views
From ESRI Shape file to envi classic file.roi 7561 2
Started by Deleted User
Hi all,
i know that with the following steps i can transform a shapefile into a file.roi:
Open the shapefile
Open the raster file
Open the ROI tool
Import the vector and then chose "Unique records of an attribute to separate ROIs
Select the Attribute
The ROIS are now imported
Open ROI tool
Export as "classic roi"
My question is: how make the same thing using ENVI api and IDL function
|
|
|
|
2 |
7561 |
12 Jan 2017 09:27 AM |
|
1 Replies and 2049 Views
How delete a specific record from an ESRI Shapefile in IDL 2049 1
Started by Deleted User
Hello,
i need to delete a specific feature from a shapefile using IDL but i do not find any usefull tool or function. That is my simplified code:
myshape = OBJ_NEW('IDLffShape', file);
Get the number of entities so we can parse through them
myshape->GetProperty, N_ENTITIES=num_ent;
Parsing through the entities
FOR x=0, (num_ent-1) DO begin ;
Get the Attributes for entity x
attr = myshape->GetAttributes(x)
IF attr.ATTRIBUTE_0 EQ 'Roi_Test_v2 &91RECORD=2&93' THEN BEGIN
IF (Stats.Mean LT 7...
|
|
|
|
1 |
2049 |
12 Jan 2017 08:39 AM |
|
1 Replies and 2311 Views
How provide a reference system to a new ESRI Shapefile (Polygon type) 2311 1
Started by Deleted User
Hello,
How set-up a particular reference system (proj=utm zone=33 datum=WGS84 units=m no_defs) to a new shapefile during its creating process
i am using the IDLffShape functions to:
open an existing shapefile
extract entity number
parsing through the entities
extract an entity with GetEntity if a condition over an attribute is verified
create a new shapefile with OBJ_NEW('IDLffShape', shapename, ENTITY_TYPE = 5)
Set the attirbute definition for the new shapefile
...
|
|
|
|
1 |
2311 |
12 Jan 2017 05:08 AM |
|
2 Replies and 2303 Views
RTV_DOIT /IN_MEMORY problems 2303 2
Started by Deleted User
Hi all,
I'm trying to set up a standalone GUI (eventually optionally commandline) tool to automate the creation of contour lines on data. Last summer I was guided on this forum to use RTV_DOIT. When I set up the proper inputs to the RTV_DOIT ENVI DOIT command, I get the following error from /IN_MEMORY at "envi_doit, 'rtv_doit', dims=dims, fid=fid, /in_memory, l_name=levlavel, out_name=outNames, pos=bandDo, values=levels":
"Attempt to subscript IN_MEMORY with loop is out of range...
|
|
|
|
2 |
2303 |
11 Jan 2017 01:27 PM |
|
4 Replies and 2432 Views
How to Display Shape Points with Solid Fill in Envi 2432 4
Started by Deleted User
Hi Mari,
This has been a problem for a while that I have never been able to solve. When I load a points shapefile into Envi, the points will only display as asterisks, or hollow points with no fill. There appears to be no option amongst all the different symbols in the legend, to have points with solid fill. I have tried multiple different combinations with the color table, and point styles and still no luck.
It makes locating points extremely difficult when overlayed on an image. There must b...
|
|
|
|
4 |
2432 |
11 Jan 2017 09:11 AM |
|
7 Replies and 4069 Views
Extracting image values under an ROI or under a polygon 4069 7
Started by Deleted User
I have an image and a vector file with polygons. I have used the VectorRecordsToSeparateROI task to generate individual rois. The number of elements in the roi match the number of polygons. I would now like to extract values from the image for each of the rois or polygons. My new roi file is an xml.
In ENVI Classic it was very easy to do. ENVI_RESTORE_ROIS, then ENVI_GET_ROI_IDS, then loop through all of the rois extracting the image data using ENVI_GET_ROI_DATA.
For my new code I have been tryi...
|
|
|
|
7 |
4069 |
10 Jan 2017 06:01 PM |
|
7 Replies and 2988 Views
EnviLayerStackRaster ERROR 2988 7
Started by Deleted User
Hello,
i am trying to execute a layer stacking process using the tool ENVILayerStackRaster but i obtain the following error message:
Attempt to call undefined function: 'ENVILAYERSTACKRASTER'.
Any suggestion
Thank you for feedback.
|
|
|
|
7 |
2988 |
10 Jan 2017 07:44 AM |
|
10 Replies and 22934 Views
SVM Classification: ROI selection 22934 10
Started by Deleted User
Hello
i am trying to execute a SVM classification using the ENVI_SVM_DOIT function.
ENVI_SVM_DOIT needs ROI_IDS. Cheecking in the help i found that ENVI_GET_ROI_IDS allows to obtain the ROI_IDS.
ENVI_GET_ROI_IDS needs the FID (the file ID). I suppose the ID of the ROI.xml file used for the classification.
But i did not found any way to obtain a file ID from a roi.xml file.
Any suggestion
Thank you for your feedback.
|
|
|
|
10 |
22934 |
10 Jan 2017 02:56 AM |
|
2 Replies and 24499 Views
Not all the posts in the forum 24499 2
Started by Deleted User
I posted a request for help a few months ago, and now I needed to look at it again, but could not find the responses that the forum gave. The link to the original post is this
http://www.harrisgeospatial.com/Support/Forums/tabid/184/forumid/6/postid/28466/scope/posts/Default.aspx28466
and the original question is this:
Hi. I was unable to start ENVI (5.3.1, 64 bits on Windows 7) and I´m getting the error message "IDL has stopped working". I noted a java update from yesterday ...
|
|
|
|
2 |
24499 |
05 Jan 2017 02:06 PM |
|
4 Replies and 25244 Views
Question: Spectral derivative of image in ENVI (no IDL) 25244 4
Started by Deleted User
Hellos,
I'm looking for a tool or an existing ENVI script to calculate a 1st degree derivative on all spectra of a hyperspectral image.
I assume many others have needed this, so a script likely exists. I couldn't find anything googling around. And as IDL isn't available, I can't use spectral math to call DERIV(s1) on a BIP image, which would do the same thing.
If anything doesn't exist, then it's back to the code editor :-)
Thanks in advance and cheers,
Rainer
|
|
|
|
4 |
25244 |
21 Dec 2016 06:46 AM |
|
3 Replies and 2676 Views
ENVI tools in ArcGis - extract features 2676 3
Started by Deleted User
Hi,
I'm trying to use the Extract Features with Ruleset function from the ENVI toolset in ArcGis 10.4.
Does the XML ruleset file need to be created by the Feature Extraction module in ENVI Or would there be another way to create rules to be used by the ENVI tool in ArcGIS
Thanks.
|
|
|
|
3 |
2676 |
20 Dec 2016 10:35 PM |
|
2 Replies and 2878 Views
Loading Headwall Nano Hyperspec Data (.bin) into ENVI 5.4 2878 2
Started by Deleted User
Hi guys,
I am trying to load some data from the nano hyperspec (.bin) into ENVI. The image cube loads in, but the pixels are not displaying correctly.
Does anyone know if this has to do with the raw format that the data is acquired in The header file appears to be fine, and all the band information is being read. But, every single band appears are noise.
|
|
|
|
2 |
2878 |
19 Dec 2016 11:21 AM |
|
2 Replies and 2078 Views
Maximum Likelihood Classification Using Spectral Library Files 2078 2
Started by Deleted User
Hi everyone,
I have been trying to use endmember spectral I collected and saved as a spectral library file to classify surface features between different datasets. As such, ROIs are inconvenient to redraw and use for each new image.
It seems as if the Maximum Likelihood Classification only works with ROI files, and not with spectral library files. Is this the case, or am I doing something wrong
Thanks in advance for your help.
|
|
|
|
2 |
2078 |
05 Dec 2016 11:42 AM |
|
2 Replies and 2119 Views
Reflectance conversion of level 1T, EO-1 (ALI) dataset 2119 2
Started by Deleted User
Hi everyone..
I have 3 scene of EO-1 ALI (Advanced land Imager) imagery in Level 1T format. I need to convert them to surface reflectance. Could anybody guide me how to convert level 1T , EO-1, ALI dataset to surface reflectance
Thank you...
|
|
|
|
2 |
2119 |
02 Dec 2016 04:15 AM |
|
2 Replies and 2769 Views
Method for Aligning Orthomosaics with Distortion 2769 2
Started by Deleted User
Hi Everyone,
I am curious if anyone could give me some guidance into a method for aligning two UAV orthomosaics from different dates. There are slight distortions in there mosaics which are respectively unique.
They are taken over the same crop field, but the GPS accuracy has given a misalignment. Because of the distortions, some sort of a warp transformation may be needed to get a desired pixel-to-pixel alignment.
Are there any tools within ENVI that could possibly help with this issue
Muc...
|
|
|
|
2 |
2769 |
01 Dec 2016 07:49 AM |
|
3 Replies and 2253 Views
MosaicRaster- Unable to export raster 2253 3
Started by Deleted User
I am running a script that mosaics hundreds of images. I have written similar scripts before so there probably aren't any obvious mistakes. The script runs until the line
MosaicRaster.Export, file, "TIFF".
and then stops with the following error
Unable to export raster.
Execution halted at: MOSAICBATCH 26
Is this a known problem Can you tell me what this error generally refers to I have tried cutting the number of files from 1200 to 250 and that does help, however it doesn't s...
|
|
|
|
3 |
2253 |
30 Nov 2016 01:00 PM |