|
|
|
|
|
0 Replies and 1786 Views
how to calculate the 3th dimension 's maximum and minimum 1786 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 |
1786 |
01 Nov 2005 09:14 AM |
|
1 Replies and 1712 Views
How to plot two curves in the same plot? 1712 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 |
1712 |
27 Oct 2005 06:50 PM |
|
0 Replies and 1901 Views
A bug of Multiplot or /NOERASE keyword? 1901 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 |
1901 |
27 Oct 2005 05:06 PM |
|
0 Replies and 1672 Views
How to restore to the default color table? 1672 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 |
1672 |
26 Oct 2005 10:34 AM |
|
0 Replies and 1579 Views
IDL for Debian Linux 1579 0
Started by Deleted User
Has anyone been able to get IDL to install on a Debian distribution
|
|
|
|
0 |
1579 |
24 Oct 2005 08:45 AM |
|
1 Replies and 1427 Views
Can iTools have several different plots stacked vertically sharing one x-axis? 1427 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 |
1427 |
24 Oct 2005 06:25 AM |
|
0 Replies and 1778 Views
RK4 source code 1778 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 |
1778 |
20 Oct 2005 11:50 AM |
|
0 Replies and 1749 Views
for loop 1749 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 |
1749 |
18 Oct 2005 02:36 PM |
|
0 Replies and 1670 Views
for loop 1670 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 |
1670 |
18 Oct 2005 02:36 PM |
|
0 Replies and 1496 Views
A question about generating colorbar 1496 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 |
1496 |
14 Oct 2005 05:49 PM |
|
0 Replies and 1668 Views
Flag for variable value > variable assignment? 1668 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 |
1668 |
12 Oct 2005 05:46 PM |
|
0 Replies and 1671 Views
Query on read_tiff 1671 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 |
1671 |
12 Oct 2005 04:01 PM |
|
0 Replies and 1764 Views
Query on read_tiff 1764 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 |
1764 |
12 Oct 2005 04:01 PM |
|
0 Replies and 1713 Views
Query on read_tiff 1713 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 |
1713 |
12 Oct 2005 04:01 PM |
|
0 Replies and 1668 Views
Query on read_tiff 1668 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 |
1668 |
12 Oct 2005 04:01 PM |
|
0 Replies and 1714 Views
Is it possible to grab image from widget_draw to an array? 1714 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 |
1714 |
12 Oct 2005 08:31 AM |
|
0 Replies and 1682 Views
11-bit data 1682 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 |
1682 |
11 Oct 2005 05:12 AM |
|
0 Replies and 1717 Views
11bit data 1717 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 |
1717 |
11 Oct 2005 05:04 AM |
|
0 Replies and 1773 Views
Measuring lines 1773 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 |
1773 |
07 Oct 2005 02:16 AM |
|
0 Replies and 1721 Views
smoothing of ndvi time series 1721 0
Started by Deleted User
please advise or provide tool written in IDL to smooth ndvi time series data
|
|
|
|
0 |
1721 |
05 Oct 2005 11:51 PM |
|