[Insight-users] Suggestions for the best Data Structure

Arash Jahangir arash at vije.ca
Wed, 28 Jan 2004 13:58:36 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_00F7_01C3E5A6.D3244FD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,
I have been reading this thread for a few weeks and have been impressed =
with the quality of the people on this thread.  I am hoping that your =
knowledge can help me decide what basic data structure I should use for =
manipulating my input data.  I have an input file format that can best =
be described as bitmap image plus the real world coordinates for each =
pixel.  The format is:

u, v, r, g, b, x, y, z

where (u, v) pair define the row, column coordinates of the pixel and =
the x,y,z are the real world coordinates.

I will need to perform all the usual activities such as image to image =
and image to object registration as well as other image and object =
modifications/edits.

The question in my mind is whether I should load the input into two =
separate data structures of appropriate image and mesh types, Or should =
I create an ImageSpatialObject (BloblSpatialObject?)  that holds all the =
data and then extract the mesh and/or image components from it as =
needed.

your help is greatly appreciated,
Arash

------=_NextPart_000_00F7_01C3E5A6.D3244FD0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have been reading this thread for a =
few weeks and=20
have been impressed with the quality of the people on this thread.&nbsp; =
I am=20
hoping that your knowledge can help me decide what basic data structure =
I should=20
use for manipulating my input data.&nbsp; </FONT><FONT face=3DArial =
size=3D2>I have=20
an input file format that can best be described as bitmap image plus the =
real=20
world coordinates for each pixel.&nbsp; The format is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>u, v, r, g, b, x, y, z</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>where (u, v) pair define the row, =
column=20
coordinates of the pixel and the x,y,z are the real world=20
coordinates.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I will need to perform all the usual =
activities=20
such as image to image and image to object registration as well as other =
image=20
and object modifications/edits.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The question in my mind is whether I =
should load=20
the input into two separate data structures of appropriate image and =
mesh types,=20
Or should I create an ImageSpatialObject (BloblSpatialObject?) =
&nbsp;that holds=20
all the data and then extract the mesh and/or image components from it =
as=20
needed.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>your help is greatly =
appreciated,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Arash</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_00F7_01C3E5A6.D3244FD0--