X
Search this forum:
Search
You are not authorized to create a new topic
Page 14 of 126 << < 1213141516 > >>
Topics
 Replies
 Views
 Last Post
2 Replies and 2736 Views Spectral Math  2736  2 Started by  Deleted User Hello, Is spectral math possible in IDL If so, how I need to divide hyperspectral images by a white reference. Thanks!
2 2736
10 Feb 2017 10:47 AM
2 Replies and 2456 Views Metadata update  2456  2 Started by  Deleted User Is it possible to update metadata of a raster file without exporting I would like to change band names and save the raster without creating new file by ENVIRaster::Export. After using the ENVIRasterMetadata::UpdateItem I cannot just save the raster with ENVIRaster::Save It says: Raster is open for read. Please use Export Raster to save.
2 2456
08 Feb 2017 02:59 AM
2 Replies and 2836 Views Patterns and EPS output  2836  2 Started by  Deleted User Hello everyone, I can't get IDL (8.5.1) to output any figure containing patterns correctly. To illustrate my problem, we can use the code from the polygon manual page : IDL Polygon data = RANDOMU(s,51)*15-5 upper = data RANDOMU(s,51)*2 6 bottom = data - RANDOMU(s,51)*3 - 7 year = INDGEN(51) 1950 p = PLOT(year, data, XRANGE=&911950,2000&93, YRANGE=&91-15,20&93, $ YTITLE='Soil Heat Accumulation &91MJ m$^{-2}$&93', THICK=2) poly = POLYGON(&91year,reverse(year)&93, &91upper,reve...
2 2836
07 Feb 2017 08:19 AM
1 Replies and 2729 Views Layer stacking from metadata  2729  1 Started by  Deleted User Hi everyone, I want to layer stack from the metadata file, is it possible I already read the metadata using this code: pro landsat8 e = ENVI() ; Open a Landsat-8 file file = 'F:\Citra\LANDSAT\\20140127\LC81190652014027LGN00\LC81190652014027LGN00_MTL.txt' raster = e.OpenRaster(file) ; Landsat-8 images are stored in a five-element array. ; Multispectral bands from the OLI sensor are stored in ; the first array element. You do not need to perform this ; step with most mult...
1 2729
06 Feb 2017 08:47 PM
2 Replies and 2523 Views ENVIGainOffsetRaster  2523  2 Started by  Deleted User Dear Sir or Mam I am using envi api programming with envi 5.3 and idl 8.5. But ENVIGainOffsetRaster doesn't work in my envi/idl programming. in other wods whenever I open it's result in my software, it's information about gain and offsets are empty. could you help me please sincerely,
2 2523
03 Feb 2017 10:28 AM
1 Replies and 2442 Views LEGEND function  2442  1 Started by  Deleted User I'm using IDL 8.5.1. I'm using the PLOT function, and making several curves in it (that is, invoking PLOT several times, using CURRENT to point to the original, and /OVER). In creating the legend, I'd like some parts of the legend to respect the Tex-Like typesetting that is now available in IDLs TEXT objects. However, when I use the TARGET keyword to LEGEND, and appropriate mathematical construct in the NAME property of the plots, they are not typeset at all, just printed directly. I can get ...
1 2442
27 Jan 2017 07:47 AM
1 Replies and 2627 Views Problem with idlpy executing a simple ENVI task  2627  1 Started by  Deleted User Hi all, i have an working IDL code to elaborate the TOA reflectance reading the metadata file MTL.txt. The asset is Landsat 8. Now, i am trying to execute the same code from python, using idlpy and IDL.run('expression') sintax. Here my code: from idlpy import IDL i also tryed from idlpy import * passing parameters to IDL function IDL.root_path = root_path the directory where the MTL.txt file is saved IDL.TOA_Dir = TOA_Dir the directory where will be saved the toa_files IDL.subdir = ...
1 2627
24 Jan 2017 11:04 AM
1 Replies and 2636 Views masking pixels in multiple bands that match range of values  2636  1 Started by  Deleted User I have a Landsat image with six bands stack stored into a single file (an array of three dimensions). I want to create a mask for those pixels if all bands match a value “zero”. I know how to do this in ENVI. MaskingàBuild maskà Options àImport Data Range then determine data range (min and max values) and select “Mask pixel if all bands match range”. Now can you tell me how I can translate this task in IDL I have an array of (ns, nb, nb=6).
1 2636
23 Jan 2017 08:55 AM
1 Replies and 2563 Views JSON_SERIALIZE precision  2563  1 Started by  Deleted User JSON_SERIALIZE(x) will produce radically different output depending on the value of x. For example: IDL> a = 19.05 IDL> print, JSON_SERIALIZE(a) 19.04999923706055 IDL> a = 19.75 IDL> print, JSON_SERIALIZE(a) 19.75 Can anyone explain this enormous difference. System settings Bug Not acceptable -- producing huge JSON file output when I am supplying 2-decimal place precision input. C. Wallace
1 2563
22 Jan 2017 09:26 AM
0 Replies and 2091 Views detection of an abrupt change point(s) in a signal series  2091  0 Started by  Deleted User Hello, IDL colleagues: I need to detect an abrupt change(s) in a signal series. The concept is similar to: "https://www.r-bloggers.com/a-simple-intro-to-bayesian-change-point-analysis/" or "https://de.mathworks.com/help/signal/ref/findchangepts.html". I cannot find any applicable IDL functions for my purpose. Does anyone have some comments or suggestions to me. Thanks a lot in advance. Best regards, Chia-Hsiang Yang
0 2091
20 Jan 2017 12:02 PM
0 Replies and 2105 Views How execute idl .pro filefrom another .pro file  2105  0 Started by  Deleted User Hello, I need to execute a .pro file from inside another .pro file. And one more question: can i execute every idl command line instruction (idl, ENVI api, envi classic api) using the idlpy module using the IDL.run('instruction') sintax Thank you for any feedback.
0 2105
12 Jan 2017 09:58 AM
2 Replies and 1922 Views How delete a specific record from an ESRI Shapefile in IDL  1922  2 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 BEG...
2 1922
12 Jan 2017 08:52 AM
0 Replies and 2126 Views OpenRaster Error  2126  0 Started by  Deleted User Hi All, I'm getting a silly error when I try to inital a raster result after running a task. I'm currently using ENVI 5.3 IDL 8.5. Below is my code. The error happens after the first file in filelist, its the second one in the batch that hangs up on e.openraster(). The error is: Attempt to call undefined method: 'IDL_LONG::OPENRASTER'. Very weird and a bit frustrating because it runs beauifully on the first image but bombs on the scecond, I have 50 imgs to batch through this pro. pro sieveC...
0 2126
11 Jan 2017 03:18 PM
1 Replies and 2444 Views "Dummies" guide to IDL  2444  1 Started by  Deleted User My grandchildren want to use a couple of my IDL licenses, and for the sake of harmony I do not want to be their initial tutor. ;-) Is their anything resembling an IDL Dummies guide available please Thanks, Ian
1 2444
09 Jan 2017 11:18 AM
1 Replies and 2251 Views license error  2251  1 Started by  Deleted User I just reposted IDL 8.5 on my MAC Pro workstation running OS X El Capitan and I have received my new license.dat file but am unable to get the license activated. When I double click on the LicenseWizard an xQuartz windows opens but closely immediately and when i try to use the command line prompts i get the following errors. bash-3.2$ cd /Applications/exelis/idl85/bin bash-3.2$ . ./idl_setup.bash bash-3.2$ sudo ./lmgrd_install Password: bash-3.2$ sudo ./exelislicense IDL Version 8.5,...
1 2251
04 Jan 2017 02:42 PM
1 Replies and 2204 Views ENVI_DEFINE_MENU_BUTTON  2204  1 Started by  Deleted User Hello, I try to add a button to the ENVI classic menu system from a defined procedure. I put the procedure files within the save_add directory but that didn't work, I can't have the defined button on the ENVI menu. I have ENVI 5.3 version.
1 2204
28 Dec 2016 03:48 PM
1 Replies and 1920 Views Getting Lat/Lon from object based map function  1920  1 Started by  Deleted User In direct graphics I could use the CONVERT_COORD function to return the lat/lon, in degrees, of a pixel after I had set a map projection in MAP_SET. The new object-oriented MAP function shows provides a ConverCoord method but what it returns is a mystery. For example if I set a map with: m = map('Mercator', limit=&9159, -170, 74, -135&93, dimensions = &91640, 640&93) and then query the coordinates near the center I get print, m.convertcoord(320,320,/device,/to_data) ...
1 1920
27 Dec 2016 03:35 PM
1 Replies and 1947 Views 3D mesh visualizations new graphics  1947  1 Started by  Deleted User Hi! Currently I'm using old routines like SCALE3 & POLYSHADE to visualize a 3D surface mesh in IDL. Is there a way to do this using the new graphics methods If not, wouldn't that be a nice feature for an upcoming release Thanks! Wouter
1 1947
21 Dec 2016 05:50 AM
1 Replies and 1943 Views Keyword syntax for ENVI_FX_RULEBASED_DOIT  1943  1 Started by  Deleted User We are using ENVI_FX_RULEBASED_DOIT to classify large TIF files into preselected classes. We need to speed up the processing time by not exporting the vector attributes. What is the syntax for suppressing EXPORT_VECTOR_ATTRIBUTES When we don't include that Keyword the vector attributes are exported anyway. Thank you! envi_doit, 'envi_fx_rulebased_doit', $ fid=fid, pos=pos, dims=dims, $ r_fid=r_fid, merge_level=80.0, $ scale_level=10.0, $ rule_filename=ru...
1 1943
20 Dec 2016 09:45 AM
1 Replies and 2314 Views Floating illegal operand With BuildMosaicRaster  2314  1 Started by  Deleted User Hello, I am building a mosaic for half a dozen hyperspectral rasters using the BuildMosaicRaster task. As this process executes I get the following warning: Program caused arithmetic error: Floating illegal operand Upon completion, the mosaic is missing an entire raster. I am guessing this error is related to a mathematical operation that is producing a number outside the acceptable range for a floating point - perhaps division by something very close to zero Is that correct If so, how...
1 2314
19 Dec 2016 08:45 AM
You are not authorized to create a new topic
Page 14 of 126 << < 1213141516 > >>