X
Search this forum:
Search
You are not authorized to create a new topic
Page 40 of 126 << < 3839404142 > >>
Topics
 Replies
 Views
 Last Post
6 Replies and 1811 Views error export .tif format  1811  6 Started by  Deleted User I have idl remove value Can you check me Thank you very much. ............................................ envi_doit, 'math_doit', fid=t_fid, pos=pos, dims=dims, $ exp=exp, out_name=out_name envi_output_to_external_format,fid=t_fid, dims=dims,$ pos=pos,$ /tiff,$ out_name=out_name '.tif' endfor envi_batch_exit end
6 1811
07 Oct 2013 09:18 AM
2 Replies and 1117 Views Change default font for plot function  1117  2 Started by  Deleted User Hi, Is there a way to change the default font variables for the plot function I know that this does the trick: "For IDL's Graphics functions, use the FONT_NAME and FONT_STYLE keywords to select the font." But I'd rather change it once, then using these keywords every time I want to plot something. Thanks in advance, Wouter Schellekens
2 1117
03 Oct 2013 07:39 AM
4 Replies and 1354 Views problem with &39;envi_convert_file_coordinates&39;  1354  4 Started by  Deleted User I was trying to classify the same image at different resolutions. Thus, I have to resample the image use envi_doit, 'RESIZE_DOIT' fisrst. The problem was how to trandfer thetraining data from one image to another, and this could be easily realized in ENVI using reconcile rois via map, and I need to perform it in envi batch mode, and I found the answer at the site: http://www.exelisvis.com/Support/Foru... But I got some problem with ‘envi_convert_file_coordinates’procedure, when I set...
4 1354
01 Oct 2013 11:51 PM
3 Replies and 1421 Views Last line of file problems  1421  3 Started by  Deleted User When I import data from a text file into IDL and uses it, then the data from the last line in the text file ends up giving errors. So there is some kind of end of file thing going on, that makes reading that last line of data go wrong. I however can't see what is wrong, because when I get my script to show me the numbers from that line, they look as they should, but when I try to use them in calculations or put my data through filters, they don't acts as the number shown. I am using one...
3 1421
26 Sep 2013 03:05 AM
1 Replies and 1267 Views where Function  1267  1 Started by  Deleted User Dear all, I am quite new in IDL programing.. I want to make a mask in IDL. I tried to use where function. I have a file ranged from 0 - 1. The aim is giving 1 value to the all pixels range from 0.60 - 0.90 and 0 to pixels with values less than 0.6 and greater than 0.90. I did it i this way but in some part it does not work. would you please help me.. A&91where(A gt 0.60 and A le 0.90)&93=1.0 A&91where(A le 0.60 and A g 0.90)&93=0.0 the first line works very well but the second part does ...
1 1267
23 Sep 2013 03:24 AM
4 Replies and 1262 Views IDL 8.2.3 crash windows 7 (x64)  1262  4 Started by  Deleted User Hi, I've upgraded my version of IDL to 8.2.3 a couple of weeks ago and I'm experiencing many random crashes. The IDLDE on windows 7 (x64) just quits during aspecific tasks. It mostly happens when I try to copy paste some code into the comand line. It doesn't give any errors or warnings; it just quits. I didn't experience this problem with IDL 8.2.2 or earlier versions. I can imagine that, given this information, it may be hard for you to figure out the problem, so if there's any further info I...
4 1262
17 Sep 2013 08:26 AM
4 Replies and 1336 Views Is it possible to save RTV_DOIT output to disk as an evf file?  1336  4 Started by  Deleted User Hi, I'm trying to figure out a way to run SVM programmatically and for that I need to generate ROIs from a raster image. First, I create 2D arrays of the same size as the image to be classified, which value 0 and 255, where value 255 indicates a training pixel. Then I use the RTV_DOIT procedure to vectorize these data. However, it only outputs the results to memory. How can I programmatically access generated vector files In other words, can I save these files to disk or get their file ids so...
4 1336
16 Sep 2013 03:44 PM
1 Replies and 1266 Views is array&39;s dimensions 0~8 in IDL?  1266  1 Started by  Deleted User is array's dimensions 0~8 in IDL What is zero dimensional array thanks very much.
1 1266
16 Sep 2013 03:23 AM
5 Replies and 1556 Views problem witch stretched labels in shade_surf  1556  5 Started by  Deleted User Hi out there, it seems that the labels of the z-axis (routine: shade_surf) are stretched to the broadness of the labels of the y-axis (please have a look on the screenshot here: https://www.dropbox.com/s/364uulh5tbw... ). In my case, the z-label "200" is stretched to fit the length of the y-label "5334000". How can I prevend this Parts of the code: !P.BACKGROUND='000000'x !P.COLOR= 'FFFFFF'x !P.FONT=1 shade_surf, data, charsize=1.5, ax=70, zvalue=0.7 ,$ XTITLE="...
5 1556
13 Sep 2013 12:57 AM
2 Replies and 1718 Views Issues with ENVI_LAYER_STACKING_DOIT  1718  2 Started by  Deleted User Hi all, I am new to IDL, so there could be a simple solution to my problem. I am trying to write a simple code that will take single band tiffs as inputs (MODIS bands 1, 2, and 7 for each day in a ~2 week period), stretch each band based on a range of values which are already predetermined (linear stretch using absolute min/max input values), and then stack the bands to create a 721 false color composite for each date. Right now, I am just testing the code on one date. I am able to successfu...
2 1718
12 Sep 2013 02:22 PM
7 Replies and 2510 Views Save image as .tif (8bit)  2510  7 Started by  Deleted User I have images in .hdr format. But i want to save image .tif format (8bit) . I read to used function Write_tiff. But i can't run idl. Can you help me Thanks pro tiff image=TVRD(/TRUE) filename=File_search('c:\Temp\create_idl_test\test.hdr') WRITE_TIFF,filename, image end
7 2510
11 Sep 2013 03:14 AM
2 Replies and 1407 Views problem with IMSL  1407  2 Started by  Deleted User When I run the model of IMSL, the problem appears IMSL Error: IMSL_LINLSQ: Fatal error: MATH_TOO_MANY_ITN: Maximum number of iterations exceeded. Execution halted at: MESMA 115 E:\PHD-UWM\study\IDL\mesma.pro READSPECTRA 70 E:\PHD-UWM\study\IDL\readspectra.pro $MAIN$ IDL> and my codes are b =&910.192377,0.201996,0.221146 ,0.235080,0.322395,0.241512,0.204528,0.0305424&93 a =&91&910.0853720,0.0615450,0.03...
2 1407
10 Sep 2013 08:48 AM
3 Replies and 1357 Views workbench problems with mac os X 10.8.2  1357  3 Started by  Deleted User Hi - new to IDL. Just installed 8.1 on a mac os X 10.8.2 machine. Tried using the workbench (IDLDE) and am getting odd behaviour. Some buttons - for e.g. "Browse" in New project, "Insert" in IDL->preferences->IDL->paths, don't do anything. There are corresponding error messages in Console: 9/9/13 11:08:04.484 PM idlde&9196040&93: *** Assertion failure in void *FinderKitLibrary()(), /SourceCache/AppKit/AppKit-1187.39/Nav.subproj/NSNavFinderViewFileBrowser.m:24 9/9/13 11:09:1...
3 1357
10 Sep 2013 12:11 AM
4 Replies and 1732 Views How to execute simple batch file from Windows command line?  1732  4 Started by  Deleted User Hello, On the long run, I would like to perform some repeating tasks on a huge number of images. The main analysis is done with Python, but some parts can only be performed in ENVI. Therefore, I would like to create a function in IDL, which can be called from Python. I'm still at the very beginning. Right now, I would like to accomplish the following: Create a procedure/function in IDL, that: can be called from a Windows command line accepts an input argument I thought this s...
4 1732
05 Sep 2013 08:52 AM
2 Replies and 1562 Views Problems with "envi_stats_doit"  1562  2 Started by  Deleted User Hello, I'm trying to learn some basic IDL to create scripts for batch processing of a large number of files with ENVI. Unfortunately, I ran into a problem at the very beginning, which I can't seem to solve. I wanted to do something very basic: open a raster file and calculate the data minimums for each band. This is what I have so far: PRO hello world compile_opt strictarr envi, /restore_base_save_files envi_batch_init, log_file='batch.log&' ; Open the input file E...
2 1562
04 Sep 2013 09:20 AM
0 Replies and 1134 Views IDLcomIDispatch issue with Excel  1134  0 Started by  Deleted User When I run the code below, I try to get a selection object and a workbooks collection object back from Excel. The workbooks collection comes back fine, but the selection object is always coming back undefined, even when i've got several cells selected. Any idea why this would be the case My limited understanding of how Excel's objects works could obviously be the problem here :) Thanks, Jeff pro xl_test xl = obj_new('IDLcomIDispatch$PROGID$Excel.Application') xl->GetProperty, Sel...
0 1134
28 Aug 2013 01:29 PM
3 Replies and 1371 Views Undefined procedure/function ENVI_SETUP_HEAD  1371  3 Started by  Deleted User Hello All, I am having an issue with an old piece of IDL code that I inherited from a colleague. Part of the code involves creating a new file, but I am getting an error when creating the header for this new file. The error message that I am getting is "Attempt to call undefined procedure/function: 'ENVI_SETUP_HEAD'." This code has worked in the past, but only in IDL v8.0, whereas I am getting the error when running it in IDL v8.2 I have modified the original code...
3 1371
28 Aug 2013 03:55 AM
1 Replies and 1278 Views HOW to retrive value from WIDGET_LIST?  1278  1 Started by  Deleted User NO GET_VALUE parameter was supported with WIDGET_CONTROL or WIDGET_INFO, how can I get the value from this widget In addition, FUNC_GET_VALUE was supported by WIDGET_CONTROL for this widget, but I don't konow how to use such parameter, could you give me an example Thank you!
1 1278
24 Aug 2013 05:45 PM
0 Replies and 1169 Views Mouse over, hover, outside events ?  1169  0 Started by  Deleted User Is there a mouse over event for a mouse I need to delete graphical objects (line and box) when mouse is over them with a mouse click. Are there methods for graphical objects, something like - graphics.line.delete or graphics.rectangle.delete
0 1169
21 Aug 2013 01:12 PM
2 Replies and 1394 Views write_png in OSX 10.8?  1394  2 Started by  Deleted User I have a new OSX 10.8 computer that I'm using to run IDL 8.2.3. The command write_png,'foo.png',tvrd(true=1) no longer produces a PNG file of the graph I have drawn. Instead it reproduces the background and nothing else. The command worked great on a computer running OSX 10.6 and IDL 8.2. Can this be fixed or is there a workaround
2 1394
16 Aug 2013 05:26 PM
You are not authorized to create a new topic
Page 40 of 126 << < 3839404142 > >>