comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: MIP from BMP Images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: MIP from BMP Images [message #76832 is a reply to message #76829] Wed, 06 July 2011 09:57 Go to previous messageGo to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Wed, 6 Jul 2011 09:10:27 -0700 (PDT), M R <manisha.rkp@gmail.com>
wrote:

> I am fairly new to IDl and trying to learn.
> I have a series of 255 bitmap images in a folder.I have to create a
> rotating MIP from these images. Each image is of the size 2216 X 1254.
> I cannot use read_bmp (as mentioned in IDL Help 8.1 as each line
> should be evenly divisible by 4). I am trying to create a 3D array of
> the size (3000 X 3000 X 500) in case the image size and number of
> images change for each data set. How should I go about addressing this
> issue of loading images into IDL? I will be using FOR loop to build
> the MIP. I haven't yet thought about rotating the MIP. Any help,
> suggestions, advice is greatly appreciated. Thank you!


Not an expert in this but:

1. read_bmp works for me:
IDL> write_bmp,'c:/tst.bmp',bytarr(2216,1254)
IDL> help,read_bmp('c:/tst.bmp')
<Expression> BYTE = Array[2216, 1254]

2. Use read_bmp in a loop just as you suggested. If you run into
memory issues, use CONGRID or REBIN to make the images smaller before
adding them to the stack. If all images are of the same dimension in 1
dataset, why do you need to convert them to 3000x3000?

3. Checkout XVOLUME_ROTATE+XVOLUME for MIP. Maybe also iVolume and
xslicer helps?


I must say I was never convinced by IDL's 3D rendering/handling. I
think products like Avizo and VGStudio MAX are more appropriate.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Aw: Re: Aw: Re: TOTAL gives totally different result on identical array
Next Topic: Variable is undefined: Actually a function

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 00:48:10 PDT 2025

Total time taken to generate the page: 0.87614 seconds