|
|
|
|
|
0 Replies and 2122 Views
MORPH_DISTANCE 2122 0
Started by Deleted User
The 1D calculation in MORPH_DISTANCE seems off, in that it automatically sets the borders to background, even if not told to. For example: print, Morph_Distance(&91;1,1,1,0,0,0&93;) returns 0 1 1 0 0 0 when the two reasonable answers would seem to be 1 2 1 0 0 0 or 3 2 1 0 0 0 depending on how the edge is treated. But, the second number should be 2 either way. The documentation says 'I...
|
|
|
|
0 |
2122 |
12 Nov 2021 01:02 PM |
|
4 |
2186 |
by Ben Castellani 12 Nov 2021 09:53 AM |
|
4 Replies and 2235 Views
Fail to write PNG file 2235 4
Started by Deleted User
I have an IDL code that generates and saves several images in PNG format, running with IDL v7.0. Its working fine. I am testing the same code with IDL v8.8. The only problem I found is that the procedure WRITE_PNG fails. Both ones on Linux CentOS 7.0, 64 bits, x86. This is the error message I got, &91;error &93; WRITE_PNG: libpng warning: Application built with libpng-1.2.59 but running &91;error &93; with 1.5.13 &91;debug &93; WRITE_PNG: Unable to initial...
|
|
|
|
4 |
2235 |
by Ben Castellani 08 Nov 2021 11:05 AM |
|
3 Replies and 2323 Views
copy paste in editor ignores new lines 2323 3
Started by Deleted User
I've been running some IDL code on Windows (IDL vers 8.7.2) and have recently been migrating to a Mac system (OS 10.15.3, IDL 8.8.0). In the IDL text editor on the Mac, on existing .pro files I used on Windows, I find that when I copy and paste multiple lines, the lines appear as one line. This makes editing programs extremely tedious. If I generate new files, there is no such issue- copy and paste of multiple lines works normally. This appears to be a 'new line' character issue. In the existing...
|
|
|
|
3 |
2323 |
by Ben Castellani 08 Nov 2021 09:37 AM |
|
1 Replies and 2120 Views
IDLGRCLIPBOARD::DRAW: not working in v8.8 2120 1
Started by Deleted User
I’ve been using the CLIPBOARD function from Fanning’s Coyote library, http://www.idlcoyote.com/programs/clipboard.pro , for many years, but it does not work in v8.8 and 8.8.1. Has anyone fixed this already The error is IDLGRCLIPBOARD::DRAW: Unable to acquire device context. Execution halted at: CLIPBOARD 168 Which is at the line theClipboard->Draw, thisView (the line number is different from the Coyote library function as I added some options) The example in the IDL h...
|
|
|
|
1 |
2120 |
by Ben Castellani 21 Oct 2021 09:16 AM |
|
1 Replies and 1577 Views
List() in 8.8.1 1577 1
Started by Deleted User
After updating to IDL 8.8.1, I found that one of my structures now generates an error. Here's an abbreviated version: struct = {B3D_PSFAccumStats, $ entryStack : List() } When I try to run my program, I get the error: LIST::RESET: This method was deprecated in IDL 8.8.1, please refactor your code to not call it. Is there a different way to now declare this so it can be in a structure, or some other workaround
|
|
|
|
1 |
1577 |
by Ben Castellani 21 Oct 2021 08:30 AM |
|
1 Replies and 2460 Views
IDL crash or shut down 2460 1
Started by Deleted User
My IDL version is 8.7.3 and I am using windows 10 system. My IDL often shuts itself down without any warning or error message while the program is running on IDL. I could not find any error log information on windows event viewer. Other softwares like matlab on my desktop do not seem to have such issues. Is there any other information that I should provide
|
|
|
|
1 |
2460 |
by Ben Castellani 09 Sep 2021 08:51 AM |
|
3 Replies and 2276 Views
Isosurface in function graphics 2276 3
Started by Deleted User
Is there an isosurface renderer in function graphics It does not appear that VOLUME has the functionality, at least the string 'ISO' does not appear on the VOLUME help page In the distant past we were able to do this with IVOLUME, and there are examples in the IDL docs of how to do it. (I know it is possible to make isosurfaces in direct graphics, but that will not solve our current problem.) Thanks, Ken Bowman
|
|
|
|
3 |
2276 |
by Deleted User 11 Aug 2021 08:59 AM |
|
1 Replies and 2638 Views
Running IDL without GUI 2638 1
Started by Deleted User
Hi All, For our project we need to run automated unit/integration tests. Is it possible to execute IDL scripts without the GUI Is there any command line interpretator Thanks in advance
|
|
|
|
1 |
2638 |
by Ben Castellani 01 Jun 2021 02:50 PM |
|
2 Replies and 2350 Views
Interrupt embbeded Java Thread with CTRLC 2350 2
Started by Deleted User
Dear L3Harris Forum, I have a question concerning using embedded Java processes into IDL (Java-IDL bridge). Specifically I need to catch and process CTRLC while executing long running Java process from within IDL. Just listening for Thread.isInterrupted does not work. The source code of the embedded Java library can be found here: https://github.com/hzg-wpi/idl2tango/blob/6e8cd9f1a340481f7505f23d1a1c39cb36e493dd/src/main/java/hzg/wpn/idl/PollDevStateAwaitor.javaL54 Thanks in advance.
|
|
|
|
2 |
2350 |
by Deleted User 21 May 2021 03:48 PM |
|
3 Replies and 7133 Views
Question about 'MEDIAN' function 7133 3
Started by Deleted User
Hi all, I had a quick question about the MEDIAN function in IDL that I can't seem to find answers to (https://www.l3harrisgeospatial.com/docs/median.html). I've noticed that when using MEDIAN, you must specify /EVEN as a keyword, otherwise in the case you have an even dataset, the MEDIAN function won't take the average of the middle two numbers. E.g. x = &91;1,2,3,4&93; MEDIAN(x) = 3 MEDIAN(x,/EVEN) = 2.5 As far as I'm aware, if you take the MEDIAN on an even set of numbers, yo...
|
|
|
|
3 |
7133 |
by Ben Castellani 18 May 2021 04:29 PM |
|
1 Replies and 1813 Views
IDL IDLGrClipBoard 1813 1
Started by Deleted User
So my problem is, i am reading in a cutimage and displaying it. And I programmed where the user can copy the picture shown to the clipboard via idlgrclipboard. And when I try to paste the clipboard into another program, it pastes the binary data only(on windows it pastes the picture just fine). I am at a loss as to how to fix this. Any ideas or suggestions would be helpful.
|
|
|
|
1 |
1813 |
by Ben Castellani 13 May 2021 11:21 AM |
|
1 Replies and 2009 Views
IDL, 4k monitor, linux 2009 1
Started by Deleted User
Hello, is there any information on how to configure IDL for 4k monitors under linux Thanks!
|
|
|
|
1 |
2009 |
by Ben Castellani 13 May 2021 09:32 AM |
|
1 Replies and 1680 Views
IDL 8.0 support for Python Bridge 1680 1
Started by Deleted User
Hi All, Do you all know if 32bit version of IDL 8.0 supports IDL Python Python to IDL bridge if not what is the least 32bit version of IDL that supports Python IDL bridge Regards, Amit
|
|
|
|
1 |
1680 |
by Ben Castellani 13 May 2021 09:25 AM |
|
2 Replies and 2591 Views
Mac X11 XQuartz 2.8.0 - IDL 8.5.1 incompatibility 2591 2
Started by Deleted User
i just moved to the new pre-release X11 2.8.0 for mac, and IDL crashes when you call dialog_pickfile(). i'm using 8.5.1, which i know is not the current version, so i will look into a newer version. but maybe someone else can test this with more recent versions to make sure it's not a common issue X11 2.8.0 has some other good fixes, like faster pasting text onto the command line after a graphics window is open. that was always very slow on 2.7.11. the dialog_pickfile() incompatibil...
|
|
|
|
2 |
2591 |
by Ben Castellani 28 Apr 2021 02:08 PM |
|
0 Replies and 2107 Views
Bug in smooth function 2107 0
Started by Deleted User
I've run across what seems to be an annoying bug in the 'smooth' function when operating on 2d arrays. It presents under certain conditions when operating on an array that contains NaN entries and when using the /nan keyword in tandem with one of the /edge_ keywords. I can reproduce this problem at will using randomly generated data. When using one of the /edge_ keywords, smooth seems to get the wrong value in elements for which the kernel contains a NaN. I noticed this in a setting where ...
|
|
|
|
0 |
2107 |
23 Apr 2021 11:49 AM |
|
0 Replies and 2085 Views
SPAWN with dir command not returning special characters correctly 2085 0
Started by Deleted User
I have an application that use SPAWN with a dir command and when files or folders are named with special characters like æøå (Norwegian letters) this command will replace those characters and I cannot use those paths further. This do not happen when using the same dir command in a cmd window. How can I prevent this replacement of characters
|
|
|
|
0 |
2085 |
06 Apr 2021 01:30 AM |
|
1 Replies and 1631 Views
My function does not give any output! 1631 1
Started by Deleted User
Hi all. I have a function in the following format: ;start of the function function hopperbub16,num,maxframes,polyd=polyd,seed=seed,gravity=gravity, $ f0=f0,dtuser=dtuser,angle=angle,width=width,mov=mov, $ xrange=xrange,yrange=yrange, $ startbub=startbub,useplot=useplot,jamstate=jamstate,jamstring=jamstring, $ ampx=ampx,freqx=freqx, ampy=ampy,freqy=freqy,overflowmax=overflowmax, $ narrow=narrow,noforce=noforce,_extra=eee &91;function body&93; . . . . . . . . ...
|
|
|
|
1 |
1631 |
by Deleted User 06 Apr 2021 01:21 AM |
|
3 Replies and 1994 Views
Minimum Noise Fraction (MNF) options in IDL 1994 3
Started by Deleted User
Hello, I'm working on a procedure that will help automate the hyperspectral workflow I've been repeating by hand to whiten my data and associated spectral library. The idea is to provide the file name of a hyperspectral file and an ROI file that identifies a convenient uniform area to use for the shift difference noise calculations. I attempted to use the ENVI 'ForwardMNFTransform' Task, but it doesn't appear that this task allows you to perform a shift difference noise calculation. Thus, I hav...
|
|
|
|
3 |
1994 |
by Deleted User 05 Apr 2021 11:44 AM |
|
1 Replies and 25382 Views
IDL on DOCKER 25382 1
Started by Deleted User
I want to run a .sav file, compiled with IDL, on a Docker container. In the container I set up IDL 8.5.1 without a license and all the needed dependencies starting from a ubuntu:16.04 image. Here I start the execution of the .sav file with the command idl -vm=<name>.sav At first, I obtained this error: Unable to connect to X Windows display: :0.0 Unable to establish X Connection. Segmentation fault (core dumped) So I tried to set up a dummy display through VNC. I inst...
|
|
|
|
1 |
25382 |
by Ben Castellani 03 Mar 2021 09:15 AM |