|
|
|
|
|
0 Replies and 1651 Views
how to calculate the 3th dimension 's maximum and minimum 1651 0
Started by Deleted User
there is a three dimension array images=(1024,1024,684)
in the third dimension, I want to get the maximum value of images(*,*,0:35) first.
then get the maximum value of images(*,*,36:71)
........
more general ,i want to get the third dimension 's maximum and minimum ,for example
c=max(images(*,*,36i:36i35))
but,the result is only a value, i want to get a matrix of maximum value of the each third data range.
how to do it
|
|
|
|
0 |
1651 |
01 Nov 2005 09:14 AM |
|
1 Replies and 1566 Views
How to plot two curves in the same plot? 1566 1
Started by Deleted User
I am wondering how to plot two curves in a plot, with two y-axes one on the left and the other on the right. The two y-axes represent two completely different things, temperature and humidity, for example.
Thank you.
|
|
|
|
1 |
1566 |
27 Oct 2005 06:50 PM |
|
0 Replies and 1757 Views
A bug of Multiplot or /NOERASE keyword? 1757 0
Started by Deleted User
I use the following code to generate four plots in a window. However, in the subwindow 0, only the curve Y2 is plotted, which means that the curve Y1 is erased, while the other plots are correct in the subwindow 1, 2, and 3
Window, 0, XSIZE=1000, YSIZE=800
!P.MULTI = &910,2,2&93
Plot, Y1, /NOERASE
Plot, Y2, COLOR=255
Plot, Y3, /NOERASE
Plot, Y4, COLOR=255
Plot, Y5, /NOERASE
Plot, Y6, COLOR=255
Plot, Y7, /NOERASE
Plot, Y8, COLOR=255
|
|
|
|
0 |
1757 |
27 Oct 2005 05:06 PM |
|
0 Replies and 1511 Views
How to restore to the default color table? 1511 0
Started by Deleted User
After I use the procedure 'LoadCT' to load a color table. I can't find a way to restore to the system's default color table, which use standard RGB.
Could you please help me on this Thank you.
|
|
|
|
0 |
1511 |
26 Oct 2005 10:34 AM |
|
0 Replies and 1458 Views
IDL for Debian Linux 1458 0
Started by Deleted User
Has anyone been able to get IDL to install on a Debian distribution
|
|
|
|
0 |
1458 |
24 Oct 2005 08:45 AM |
|
1 Replies and 1284 Views
Can iTools have several different plots stacked vertically sharing one x-axis? 1284 1
Started by Deleted User
In iTools, is it possible to create a set of graphs that have different y-axes but share the same x-axis and are stacked vertically one above the other
I'm looking for an iTool producing output similar to the screenshot example shown for CalcPlotPanelPosns.pro, but where one x-axis is used for several plots. The screenshot example shown with CalcPlotPanelPosns.pro has separate graphs which have separate x-axes. I'd like to have separate y-axes but a common x-axis.
The Layout option se...
|
|
|
|
1 |
1284 |
24 Oct 2005 06:25 AM |
|
0 Replies and 1620 Views
RK4 source code 1620 0
Started by Deleted User
Could anyone tell me where I can find the IDL source code for RK4 (fourth order Runge Kutta integrator) I could not find it in the installation libraries at my institution. It says in the help documentation that it is based on the numerical recipes in C code but I assume that means it was converted into IDL. Any help would be very appreciated. Thanks.
|
|
|
|
0 |
1620 |
20 Oct 2005 11:50 AM |
|
0 Replies and 1596 Views
for loop 1596 0
Started by Deleted User
IDL does seem to like this loop and I'm not sure why. I am trying to find the median counts for an im image and plot.
pro hst_1,file=file
im=readfits(file)
im=fltarr(1024,1024)
for i=0,500 do begin
for j=0,500 do begin
|
|
|
|
0 |
1596 |
18 Oct 2005 02:36 PM |
|
0 Replies and 1497 Views
for loop 1497 0
Started by Deleted User
IDL does seem to like this loop and I'm not sure why. I am trying to find the median counts for an im image and plot. I get an error saying that median needs to be in the form of a float...
pro hst_1,file=file
im=readfits(file)
im=fltarr(1024,1024)
for i=0,1023 do begin
for j=0,1023 do begin
med(i,j)=median(im(i,j))
im2=im-med
plot,im2
endfor
endfor
end
|
|
|
|
0 |
1497 |
18 Oct 2005 02:36 PM |
|
0 Replies and 1344 Views
A question about generating colorbar 1344 0
Started by Deleted User
I use the following code to generate a gray color bar:
cmap = IndGen(256)
cmap = cmap256L*(cmap256L*cmap)
x = &910,1&93
y = Make_Array(2, /FLOAT)
y&910&93 = LThreshold
y&911&93 = HThreshold
bar = Make_Array(2, 2, /FLOAT)
bar&910,*&93 = y
bar&911,*&93 = y
Contour, bar, x, y, /CELL_FILL,NLEVELS=256, C_COLORS=cmap
However, the gray on this color bar doesn't change from 'pure' white to 'pure' black, but from a lighter gray to a darke...
|
|
|
|
0 |
1344 |
14 Oct 2005 05:49 PM |
|
0 Replies and 1523 Views
Flag for variable value > variable assignment? 1523 0
Started by Deleted User
Hi,
I am not sure if my subject has a good title, but anyway..
I declared a variable to be an integer, and incremented after certain tasks. It turned out that the value of the integer exceeded 2^15-1 = 32767 and took on the value of -32768, then -32767,,, etc.. My program continued chugging along without a care in the world. Is there any way to force IDL to tell you that something like this is happening and maybe stop If not, it would be a very useful addition.
Thank you very much...
|
|
|
|
0 |
1523 |
12 Oct 2005 05:46 PM |
|
0 Replies and 1510 Views
Query on read_tiff 1510 0
Started by Deleted User
Sir,
I'm using IDL 6.0 for reading a tiff image.
The problem is in displaying the image.I am unable to view the whole image although the READ_TIFF procedure is enabling me to read the image from the specified path.
The simple code in IDL is :
-----------------
pro image_tif
AB = READ_TIFF('BBB.tif')
;TVLCT, R, G, B
TV, AB
end
------------
I can see the image partly as a thin line on the extreme left sid eof the view window.
Can you please help
Pls. reply soon.
Thanks
Reg...
|
|
|
|
0 |
1510 |
12 Oct 2005 04:01 PM |
|
0 Replies and 1620 Views
Query on read_tiff 1620 0
Started by Deleted User
Sir,
I'm using IDL 6.0 for reading a tiff image.
The problem is in displaying the image.I am unable to view the whole image although the READ_TIFF procedure is enabling me to read the image from the specified path.
The simple code in IDL is :
-----------------
pro image_tif
AB = READ_TIFF('BBB.tif')
;TVLCT, R, G, B
TV, AB
end
------------
I can see the image partly as a thin line on the extreme left sid eof the view window.
Can you please help
Pls. reply soon.
Thanks
Reg...
|
|
|
|
0 |
1620 |
12 Oct 2005 04:01 PM |
|
0 Replies and 1573 Views
Query on read_tiff 1573 0
Started by Deleted User
Sir,
I'm using IDL 6.0 for reading a tiff image.
The problem is in displaying the image.I am unable to view the whole image although the READ_TIFF procedure is enabling me to read the image from the specified path.
The simple code in IDL is :
-----------------
pro image_tif
AB = READ_TIFF('BBB.tif')
;TVLCT, R, G, B
TV, AB
end
------------
I can see the image partly as a thin line on the extreme left sid eof the view window.
Can you please help
Pls. reply soon.
Thanks
Reg...
|
|
|
|
0 |
1573 |
12 Oct 2005 04:01 PM |
|
0 Replies and 1521 Views
Query on read_tiff 1521 0
Started by Deleted User
Sir,
I'm using IDL 6.0 for reading a tiff image.
The problem is in displaying the image.I am unable to view the whole image although the READ_TIFF procedure is enabling me to read the image from the specified path.
The simple code in IDL is :
-----------------
pro image_tif
AB = READ_TIFF('BBB.tif')
;TVLCT, R, G, B
TV, AB
end
------------
I can see the image partly as a thin line on the extreme left sid eof the view window.
Can you please help
Pls. reply soon.
Thanks
Reg...
|
|
|
|
0 |
1521 |
12 Oct 2005 04:01 PM |
|
0 Replies and 1565 Views
Is it possible to grab image from widget_draw to an array? 1565 0
Started by Deleted User
I would like to print image to PS file. but since drowing is too complex it's worth grsb final image from WIDGET_DRAW to print it into PS file.
I don't want to draw directly to PS driver, because I need the image in PS and on display at he same time.
|
|
|
|
0 |
1565 |
12 Oct 2005 08:31 AM |
|
0 Replies and 1553 Views
11-bit data 1553 0
Started by Deleted User
Some of the ASTER data can be delivered in 11 bit format.
When ENVI imports this kind of data, it is written to a 16bit image channel
Is it possible to specify 8bit as output band type
thanks
|
|
|
|
0 |
1553 |
11 Oct 2005 05:12 AM |
|
0 Replies and 1565 Views
11bit data 1565 0
Started by Deleted User
Some of the ASTER data can be delivered in 11 bit format.
When ENVI imports this data, it is written to a 16bit image channel
Is it possible to specify 8bit as output channel type
|
|
|
|
0 |
1565 |
11 Oct 2005 05:04 AM |
|
0 Replies and 1630 Views
Measuring lines 1630 0
Started by Deleted User
Hi,
My apologies if this is a trivial problem.
I have a bitmap which is a picture of glass fibers distributed on a flat surface.
The bitmap is already processed so the fibers can be easily distinguished.
Is there a way or a method within IDL to measure the length of the individual fibers apart from programming a scanning algorithm myself
Thank you very much in advance.
|
|
|
|
0 |
1630 |
07 Oct 2005 02:16 AM |
|
0 Replies and 1581 Views
smoothing of ndvi time series 1581 0
Started by Deleted User
please advise or provide tool written in IDL to smooth ndvi time series data
|
|
|
|
0 |
1581 |
05 Oct 2005 11:51 PM |
|