[Insight-users] Size

David Llanos gva02 at elai . upm . es
Wed, 17 Dec 2003 20:21:44 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C3C4DB.63EA3080
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi all,

In the first place I request you help in this simple problem: I want to =
get the size of a 2D RGB image, already read with ImageFileReader and =
kept in the pointer "reader", for later to keep it in a constant =
variable.

I attempted something like that, but I don't know the classes of =
ImageFileReader exactly

  const unsigned long tam=3D0;
  tam=3Dreader->GetOutput()->GetRequestedRegion().GetSize();


In second place I would want to ask you where I can find (in files. h. =
txx. cxx or those that are, or in some manual or internet page) the =
content of each bookstore, to know the classes that I can use and their =
methods and members. For example, for ImageFileReader I can use the =
members SetFileName( arg) , GetOutput(), Update(), etc..      but inside =
GetOutput(), I dont know which are the members, and neither I know all =
the classes that ImageFileReader has.=20

thanks in advange.

------=_NextPart_000_0009_01C3C4DB.63EA3080
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.1264" 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></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In the first place I request you help =
in this=20
simple problem: I want to get the size of a 2D RGB image, already read =
with=20
ImageFileReader and kept in the pointer "reader", for later to keep it =
in a=20
constant variable.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I attempted something like that, but I =
don't know=20
the classes of ImageFileReader exactly</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; const unsigned long =
tam=3D0;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;=20
tam=3Dreader-&gt;GetOutput()-&gt;GetRequestedRegion().GetSize();</FONT></=
DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In second place I would want to ask you =
where I can=20
find (in files. h. txx. cxx or those that are, or in some manual or =
internet=20
page) the content of each bookstore, to know the classes that I can use =
and=20
their methods and members. For example, for ImageFileReader I can use=20
the&nbsp;members SetFileName( arg) , GetOutput(), Update(),=20
etc..&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; but inside GetOutput(), I dont know =
which=20
are the members, and neither I&nbsp;know all the classes=20
that&nbsp;ImageFileReader has. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks in advange.</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0009_01C3C4DB.63EA3080--