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

Home » Public Forums » archive » voxel_proj and array type
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
voxel_proj and array type [message #42196] Tue, 04 January 2005 11:28 Go to next message
edwardg is currently offline  edwardg
Messages: 5
Registered: August 2003
Junior Member
Hi all,

I'm working on a GUI to display and analyze medical images, and have
incorporated a maximum intensity projection (MIP) utility using
VOXEL_PROJ and T3D. Typically i'm using either int or float arrays, and i
convert them to byte by window/levelling after pulling out the slice i
want.

I'd like to do the MIP before converting to byte so i don't have to
reproject every time the user changes the window/level settings. However,
VOXEL_PROJ seems to insist on working on byte data arrays. Does anyone
have any ideas on how to get around this problem?

Thanks!






Ted
Re: voxel_proj and array type [message #42347 is a reply to message #42196] Fri, 28 January 2005 10:53 Go to previous message
Mike Miller is currently offline  Mike Miller
Messages: 3
Registered: January 2002
Junior Member
Edward Graves wrote:
> I'm working on a GUI to display and analyze medical images, and have
> incorporated a maximum intensity projection (MIP) utility using
> VOXEL_PROJ and T3D. Typically i'm using either int or float arrays,
and i
> convert them to byte by window/levelling after pulling out the slice
i
> want.

> I'd like to do the MIP before converting to byte so i don't have to
> reproject every time the user changes the window/level settings.
However,
> VOXEL_PROJ seems to insist on working on byte data arrays. Does
anyone
> have any ideas on how to get around this problem?

I have done this by rotating a 3D image volume and projecting it with
the
total (for projections, as in img = max(vol, dimension=1))) or max (for
MIPs,
as in img = total(vol, 2)) functions. This works fine with any data
type and
the resulting images can be byte scaled and tv'd, or decomposed and
tv'd or
whatever.

Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 6.1.1 : how to activate opengl in hardware ?
Next Topic: Dialog_Write_Image woes

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

Current Time: Wed Oct 08 16:00:47 PDT 2025

Total time taken to generate the page: 0.00523 seconds