[Insight-developers] filter to change image type

Wilson Chang wmcst6+@pitt.edu
Thu, 21 Mar 2002 10:33:40 -0500


This is a multi-part message in MIME format.

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

Jim-

Thats it, thanks. =20

    I have an observation about itk as a person relatively new to =
developing for it.  It is a difficult task to know what is in the =
toolkit, and more specifically, what each one thing does.  Even scanning =
through the directory of filters in the BasicFilters folder, I missed =
this simple one for casting.  Part of the difficulty is that with ~100 =
some odd filters, it is tough to know how to find the right one, =
although the file names help to an extent. =20

    Also, to use itk and get things done efficiently and easily, =
sometimes it takes solving the problem in a different manner, or using =
the basic building blocks of itk in a non-traditional way.  while this =
makes it very powerful and flexible, it also makes the learning curve =
pretty steep and fairly intimidating.  While I don't know of a way =
around this besides documentation, I thought i might share some =
observations.

wilson

  ----- Original Message -----=20
  From: Miller, James V (CRD)=20
  To: 'Wilson' ; Insight Developers=20
  Sent: Thursday, March 21, 2002 10:08 AM
  Subject: RE: [Insight-developers] filter to change image type


  How about CastImageFilter?
    -----Original Message-----
    From: Wilson [mailto:wmcst6+@pitt.edu]
    Sent: Thursday, March 21, 2002 9:46 AM
    To: Insight Developers
    Subject: [Insight-developers] filter to change image type


    Is there a filter that exists to change the pixel representation =
type in an image (i.e. unsigned char to float)?

    wilson

------=_NextPart_000_0117_01C1D0C3.DE4EC970
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.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Jim-</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thats it, thanks.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I have an =
observation about itk=20
as a person relatively new to developing for it.&nbsp; It is a difficult =
task to=20
know what is in the toolkit, and more specifically, what each one thing=20
does.&nbsp; Even scanning&nbsp;through the directory of&nbsp;filters in =
the=20
BasicFilters folder, I missed this simple one for casting.&nbsp; Part=20
of&nbsp;the&nbsp;difficulty&nbsp;is that with ~100 some odd filters, it =
is tough=20
to know how to find the right one, although the file names help to an=20
extent.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Also, to use itk and =
get things=20
done efficiently and easily, sometimes it takes solving the problem in a =

different manner, or using the basic building blocks of itk in a =
non-traditional=20
way.&nbsp; while this makes it very powerful and flexible, it also makes =
the=20
learning curve pretty steep and fairly intimidating.&nbsp; While I don't =
know of=20
a way around this besides documentation, I thought i might share some=20
observations.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>wilson</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dmillerjv@crd.ge.com =
href=3D"mailto:millerjv@crd.ge.com">Miller, James V=20
  (CRD)</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dwmcst6@pitt.edu=20
  href=3D"mailto:wmcst6@pitt.edu">'Wilson'</A> ; <A=20
  title=3DInsight-developers@public.kitware.com=20
  href=3D"mailto:Insight-developers@public.kitware.com">Insight =
Developers</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, March 21, 2002 =
10:08=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: =
[Insight-developers] filter=20
  to change image type</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D479340815-21032002><FONT color=3D#0000ff =
size=3D2>How about=20
  CastImageFilter?</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B> Wilson=20
    [mailto:wmcst6+@pitt.edu]<BR><B>Sent:</B> Thursday, March 21, 2002 =
9:46=20
    AM<BR><B>To:</B> Insight Developers<BR><B>Subject:</B> =
[Insight-developers]=20
    filter to change image type<BR><BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Is there a filter that exists to =
change the=20
    pixel representation type&nbsp;in an image (i.e. unsigned char to=20
    float)?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial=20
size=3D2>wilson</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0117_01C1D0C3.DE4EC970--