X
Search this forum:
Search
You are not authorized to create a new topic
Page 11 of 126 << < 910111213 > >>
Topics
 Replies
 Views
 Last Post
2 Replies and 3539 Views Creating lossless video output  3539  2 Started by  Deleted User I am trying to create a lossless MPEG-4 video from a sequence of PNG files. The basic code looks like this ni = 1540 nj = 300 fps = 6 infile = FILE_SEARCH(indir, '*.png', COUNT = nframes) video = IDLffVideoWrite('test.mp4') stream = video.AddVideoStream(ni, nj, fps, PRESET = 'normal') FOR s = 0, nframes-1 DO BEGIN image = READ_PNG(infile&91;s&93;) time = video.Put(stream, image) ENDFOR video = 0 If I understand the documentation for IDLffVideoWrite correctly, PRESET = 'no...
2 3539
by  Deleted UserJump to last post
02 Feb 2018 12:24 PM
2 Replies and 2635 Views Performance Issues with OrderedHash  2635  2 Started by  Deleted User Good day, The time required to access the keys and values of an Orderedhash rises exponentially with the number of elements contained in the Orderedhash. This makes it unusable for large collections. The same is !not! true for ordinary Hash objects. With a hash the time required to access the keys and values rises approximatly linearly with the number of elements contained within the hash. This is what I would expect for an OrderedHash as well. Is this expected behaviour Will t...
2 2635
by  Deleted UserJump to last post
31 Jan 2018 03:10 AM
1 Replies and 2332 Views add plugin to DE?  2332  1 Started by  Deleted User I would really like to modify the default commit template for Git, but this feature looks like the only way to do it. http://www.eclipse.org/mylyn/ Is it possible to add this, or is there another way Ronn Kling
1 2332
by  Deleted UserJump to last post
30 Jan 2018 03:49 PM
2 Replies and 2115 Views Formatting forum postings  2115  2 Started by  Deleted User Are there instructions somewhere on how to format postings to this forum (embedded code, etc.) Whatever I enter shows up in the Preview as a single wrapped (and unreadable) paragraph. Thanks, Ken
2 2115
by  Deleted UserJump to last post
30 Jan 2018 03:23 PM
1 Replies and 3614 Views read netcdf file with python  3614  1 Started by  Deleted User Hi, I would like to read a netcdf4 file using python bridge. I imported netCDF4 module and then I read the file: rd=python.import('netCDF4') data=rd.Dataset('/tmp/A2007235-chl-med-hr.nc') now with help,data I obtain the information: <class 'netCDF4._netCDF4.Dataset'> root group (NETCDF4 data model, file format HDF5): Conventions: CF-1.4 title: dataset-oc-med-chl-modis-l3-chl_1km_daily-rt-v02 netcdf_version: v4 grid_mapping: Equirectangular parameter: c...
1 3614
by  Deleted UserJump to last post
23 Jan 2018 11:36 AM
1 Replies and 3304 Views Configuration of idlpy into Anaconda Python environment  3304  1 Started by  Deleted User I need to use idlpy tools and functions using the Python version and environment provided with Anaconda. I use Python 3.6.3 version. The problem is that using the Anaconda system, it is not possibile specify or set th PYTHONPATH and PYTHONHOME variables, because these variables are managed by Anaconda itself. Thank you for any suggestion.
1 3304
by  Deleted UserJump to last post
23 Jan 2018 10:50 AM
0 Replies and 3520 Views How to write file from IDLgrWindow  3520  0 Started by  Deleted User User Question: How do you write files directly from an IDLgrWindow Possible Solution: Use the IMAGE_DATA property to get the image that is displayed in the window. Then use routines such as WRITE_PNG to write the image data to a file. For example: oWindow.GetProperty, IMAGE_DATA=img WRITE_PNG, 'test.png', img
0 3520
16 Jan 2018 12:40 PM
0 Replies and 6554 Views New Google Group for IDL discussions  6554  0 Started by  Deleted User Since 1991, the Usenet group comp.lang.idl-pvwave has been a place for discussion of the IDL language and the similar language PV-WAVE. The group is unaffiliated with Harris Geospatial, and is mainly for discussions among IDL users. Recently, the Usenet group has come under heavy attack from spammers, making it mostly unusable. Therefore, I have created a Google group to replace the Usenet group https://groups.google.com/forum/!forum/idl-pvwave You need to have a Google ...
0 6554
08 Jan 2018 07:57 AM
0 Replies and 5293 Views How to select and operate on a subset of array elements?  5293  0 Started by  Deleted User IDL USER QUESTION:: 'I have an IDL problem that I haven’t been able to solve and was hoping you might be able to point me in the right direction. I have a raster that I’ve read into an array and I want to perform an operation only where there aren’t the no data values of -32767. I thought I could use the if statements but they don’t work on arrays obviously. Is there an array expression equivalent that will allow me to do this' ANSWER: Here is example code that illustrate...
0 5293
05 Jan 2018 01:15 PM
0 Replies and 4433 Views Missing setup.py for python-IDL bridge  4433  0 Started by  Deleted User Problem: A user reported that the setup.py script is missing from the their IDL 8.5 installation. Solution: The setup.py script was added in IDL 8.6. To get access to this script, the user should upgrade to IDL 8.6.1. David -Harris GS
0 4433
21 Dec 2017 08:56 AM
5 Replies and 3594 Views Having trouble getting signatures from a .sli to use with ENVISpectralAngleMapper  3594  5 Started by  Deleted User Hi, I want to use ENVISpectralAngleMapperClassification to classify as set of files using my own spectral library ('library.sli'). However, ENVISAM requires training data as a Task.MEAN-array. I am having trouble constructing this array from the files in my library. I am using ENVIGetSpectrumFromLibrary and I can select the entries I want (signatures = &91;0,1,2&93;) and then loop: list = LIST() for i=0, signatures.LENGTH-1l do begin LibTask.spectrum_name=speclib.SPECTRA_NAMES&...
5 3594
by  MariMJump to last post
19 Dec 2017 05:57 AM
0 Replies and 3680 Views IDL non-rectangular image data set  3680  0 Started by  Deleted User Question: A user has encountered the following scenario: They have a 2D array with x-values of the image, a 2D array of the y-values of the image, and a 2D array of the image values. The image is a wedged shaped thing and not rectangular. The user is looking for something like the TV or TVSCL that allows the X and Y coordinates to be provided. Answer: The IMAGE function allows you to provide the X and Y coordinates. The documentation for this routine is shown below: h...
0 3680
18 Dec 2017 02:38 PM
5 Replies and 3294 Views WV_FN_HAAR  3294  5 Started by  Deleted User I am trying to use HAAR function to decompose an image and the coefficients, I have read the documentation but I didn't yet understood how to use it, how to get the 4 image components after decomposition with HAAR with order 1.
5 3294
by  Deleted UserJump to last post
14 Dec 2017 03:04 AM
1 Replies and 2108 Views Boxplot outliers broken if single outlier  2108  1 Started by  Deleted User After having failed to use tech support (critical error - please check 'event viewer'), this is the bug I wanted to report: This works: arr = &91;1,2,3,4,5,2,1,2,3,999,999&93; bpd = createboxplotdata(arr, OUTLIER=out) o = boxplot(bpd, OUTLIER=out) This does not work (IDL does not draw outlier point): arr = &91;1,2,3,4,5,2,1,2,3,999&93; bpd = createboxplotdata(arr, OUTLIER=out) o = boxplot(bpd, OUTLIER=out) (tested under Windows 10, IDL 8.6.0)
1 2108
by  Ben CastellaniJump to last post
13 Dec 2017 03:49 PM
3 Replies and 2643 Views IMSL routines on Mac?  2643  3 Started by  Deleted User I'm trying to use IMSL routines on IDL Mac 64-bit, without success (see error in subject line). There is no 32-bit version available for download here for the Mac. I'm given the impression that this must be a generic problem Any advice on how to proceed
3 2643
by  MariMJump to last post
13 Dec 2017 05:50 AM
1 Replies and 2651 Views OSX: wrong xterm path in launchers  2651  1 Started by  Deleted User after upgrading to 8.6.1 the LicenseAdministrator on OSX fails to start. This type of regression has happened many times before and it is surprising to see it happens again on such a vital component as the LicenseAdministrator. The error is caused by using a wrong path for xterm (/usr/X11R6/bin/xterm) while the correct path is /opt/X11/bin/xterm For example in: /Applications/harris/envi54/idl86/LicenseAdministrator.app/Contents/Resources/Scripts/main.scpt Changing the full path to xterm to ...
1 2651
by  Deleted UserJump to last post
30 Nov 2017 04:19 PM
1 Replies and 2597 Views DLM_REGISTER  2597  1 Started by  Deleted User IDL 8.3 on MAC OS-X 10.12.6 Upon opening IDL, this error generated: DLM_REGISTER: Error opening file. File: applications/excelis/idl83/bin/bindarwin.x86_64/ No such file or directory Where does IDL define default the default DLM registry path Can this be edited to fix
1 2597
by  MariMJump to last post
16 Nov 2017 09:46 AM
1 Replies and 2741 Views vector routine doesn't work  2741  1 Started by  Deleted User Here is the program. Is there an error in the program or is it a bug. Each of the 2 vectors should be 1 in length and the second vector should originate at 2,2. pro displayVectorField xres = 4 yres = 4 dx = fltarr(xres,yres) dy = fltarr(xres,yres) dx&91;0,0&93; = 1 dy&91;0,0&93; = 1 dx&91;2,2&93; = 1 dy&91;2,2&93; = 1 v = vector(dx,dy,XRANGE=&91;0,4&93;,YRANGE=&91;0,4&93;,/OVERPLOT) end
1 2741
by  Ben CastellaniJump to last post
10 Nov 2017 03:02 PM
1 Replies and 2632 Views how to improve efficiency of image processing  2632  1 Started by  Deleted User wavelength = &91;412,442,488,530,554,645,747,857,1242&93; for s =0,ns-1 do begin;ns for l=0,nl-1 do begin;nl Y=data&91;s,l,*&93; coeffs = powerlaw_fit(wavelength, Y) endfor endfor is there any method to improve efficiency?thanks
1 2632
by  Deleted UserJump to last post
02 Nov 2017 10:34 AM
1 Replies and 2107 Views QROMO Manual Page Example  2107  1 Started by  Deleted User A colleague came to my office and asked if IDL's implementation of QROMO produces accurate results since the example given by IDL is off from the analytic result by 1. When you look at the example on IDL's QROMO manual page, it is to integrate the function 1/x^4 from 2 to infinity. Now, it is true that when you do exactly what is stated on the manual page, you get the stated results: PRINT, QROMO('hyper', 2.0, /MIDEXP) does yield 0.0412050 Anyone can integrate this by hand and on...
1 2107
by  Deleted UserJump to last post
27 Oct 2017 08:55 AM
You are not authorized to create a new topic
Page 11 of 126 << < 910111213 > >>