[Insight-users] Masking a region & thresholding

Radhika Sivaramakrishna radhika.sivaramakrishna at synarc.com
Tue, 10 Feb 2004 07:24:46 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3EFEA.03B4D7F8
Content-Type: text/plain

Hi Luis,
Let me look at my code in more detail. I thought I had already updated the
previous filter and captured its output in my "mask". So the previous
pipeline, as far as I am concerned is done. I then start my new pipeline
With mask and call a sequence of filters and then call update on that. Since
This is not in a for loop or anything, why is it wrong? I understand your
point about pipelines in general and not messing with the pointers, but I am
Not sure it applies here.
Let me know.
Thanks
Radhika


-----Original Message-----
From: Luis Ibanez [mailto:luis.ibanez at kitware.com] 
Sent: Monday, February 09, 2004 7:28 PM
To: Radhika Sivaramakrishna
Cc: ITK; Miller, James V (Research)
Subject: Re: [Insight-users] Masking a region & thresholding


Hi Radhika,

You certainly don't want to use iterators
for altering directly an image in the
middle of the pipeline.  All your changes
will be lost the next time you update the
filters.

You should probably look at the AND, OR
filter and actually mask the gray levels
of the input image using your mask. Then
continue the pipeline with an image that
has the original gray level on the region
of the mask and zeros elsewhere.

http://www.itk.org/Insight/Doxygen/html/classitk_1_1OrImageFilter.html
http://www.itk.org/Insight/Doxygen/html/classitk_1_1AndImageFilter.html


Regards,


    Luis


-------------------------------
Radhika Sivaramakrishna wrote:

> Hi Luis,
> 
> Thanks for entering this as a bug.
> You are right about the cumulators. I should declare them as float.
> I do not understand the issue you pointed to below.
> 
> I am forced to do my calculations this way because what I want to do is 
> the following:
> 
> Use the histogram analysis to identify a threshold to threshold the 
> image. But I want to do the thresholding only in the region of the mask. 
> Ie I am basically happy my mask, except it also includes regions in the 
> original image that are higher than the threshold which I want to remove.
> 
> If
> I just use this threshold through a standard Threshold filter, then I 
> will end up with a lot of other regions (values lower than this 
> threshold that I don't need), so I am constraining this thresholding 
> only in the region of the mask, so I am directly editing the ON pixels 
> in my mask to switch off at regions in the gray level that are higher 
> than threshold. Is there a better way to do this?
> 
> Radhika
> 
> 
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Sent: Monday, February 09, 2004 11:59 AM
> To: Radhika Sivaramakrishna
> Cc: ITK; Miller, James V (Research)
> Subject: Re: [Insight-users] Compilation error with inPlace filters
> 
> 
> Hi Radhika,
> 
> This seems to be a bug in the RelabelImageFilter.
> The issue has been entered in the bug tracker with ID # 582
> 
> http://www.itk.org/Bug/bug.php?op=show&bugid=582&pos=0 
> <http://www.itk.org/Bug/bug.php?op=show&bugid=582&pos=0>
> 
> In the meantime, please instantiate the RelabelImageFilter
> using the same image type for input and output.
> 
> ----
> 
> Unrelated to the error above,... but still worrisome:
> 
> In your code you are taking the output of a reader and
> using an iterator for changing the value of this image.
> (the "mask" image in lines 193 - 201 ).
> 
> Then you pass the image as input to another filter.
> This is a violation of the pipeline encapsulation.
> You should use a threshold image filter instead of
> using an iterator through the image. The output of the
> filters should be const...  but we still have this
> weakness in ITK filters....
> 
> The cumulators that you have for frequencies are
> being declared unsigned long. They should be floats
> or doubles.  Note that Frequencies are not just counters,
> they actually provide floating point values.
> 
> 
>   Regards,
> 
> 
>      Luis
> 
> 
> ---------------------------------------
> Radhika Sivaramakrishna wrote:
> 
>  > Hi Luis,
>  > I actually did the checkout this morning and I did see the Dashboard
>  > was pretty green. I don't know if I am making a silly mistake or a
>  > more serious error.
>  >
>  > I have copied my code here which doesn't compile and gives the error
>  > indicated below. I think the problem has something to do with the
>  > IntImageType I put in for dealing with the Relabel.. filter.
>  >
>  > Sorry about not putting the correct subject. Will try to make sure to
>  > do it from now on.
>  >
>  > Radhika
>  >
>  >
>  > -----Original Message-----
>  > From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
>  > Sent: Monday, February 09, 2004 10:34 AM
>  > To: Radhika Sivaramakrishna
>  > Cc: ITK
>  > Subject: Re: [Insight-users] Compilation error with inPlace filters
>  >
>  >
>  > Hi Radhika,
>  >
>  >
>  > A number of changes were made last week for extending
>  > the functionality of "InPlace" filters.
>  >
>  > You probably updated your checkout in the middle of
>  > one of such modifications.  Please trying cvs updating
>  > to this morning (since the nightly Dashboard was quite
>  > green today).
>  >
>  >
>  >   Regards,
>  >
>  >
>  >      Luis,
>  >
>  >
>  > PS. Please don't reuse email threads with other subjects when
>  >       you post questions about new topics/problems. This is
>  >      confusing for anybody trying to follow a thread.
>  >
>  >
>  > ---------------------------------------
>  > Radhika Sivaramakrishna wrote:
>  >
>  > > Hi Luis,
>  > > I am getting this very strange error message while compiling. Can you
>  > > explain what this could be?
>  > >
>  > > /home/rsivaram/Insight/Code/Common/itkInPlaceImageFilter.txx: In 
> member
>  > >    function `void itk::InPlaceImageFilter<TInputImage,
>  > >    TOutputImage>::AllocateOutputs() [with TInputImage = main(int,
>  > >    char**)::IntImageType, TOutputImage = main(int,
>  > char**)::ImageType]':
>  > > /home/rsivaram/Insight/Code/Common/itkImageRegion.h:173: 
>  > > instantiated from here
>  > > /home/rsivaram/Insight/Code/Common/itkInPlaceImageFilter.txx:76: no
>  > > matching
>  > >    function for call to `itk::InPlaceImageFilter<main(int,
>  > >    char**)::IntImageType, main(int,
>  > > char**)::ImageType>::GraftOutput(main(int,
>  > >    char**)::IntImageType*)'
>  > > /home/rsivaram/Insight/Code/Common/itkImageSource.txx:95: candidates
>  > > are: void
>  > >    itk::ImageSource<TOutputImage>::GraftOutput(TOutputImage*) [with
>  > >    TOutputImage = main(int, char**)::ImageType]
>  > >
>  > >
>  > > Thanks
>  > > Radhika
>  > >
>  > >
>  > >
>  >
>  >
>  >                                                    
>  > -----------------------------------------------------
>  > Confidentiality Notice.
>  > This email message is for the sole use of the intended recipient(s)
>  > and may contain confidential and privileged information. Any
>  > unauthorized review, use, disclosure or distribution is prohibited. If
>  > you are not the intended recipient, please contact the sender by reply
>  > email and destroy all copies of the original message. If you are the
>  > intended recipient, please be advised that the content of this message
>  > is subject to access, review and disclosure by the sender's Email
>  > System Administrator.
>  >
>  > 
>  >
>  > 
>  >
> 
> 
> 
>                                                     
> ----------------------------------------------------- 
> Confidentiality Notice.
> This email message is for the sole use of the intended recipient(s) and 
> may contain confidential and privileged information. Any unauthorized 
> review, use, disclosure or distribution is prohibited. If you are not 
> the intended recipient, please contact the sender by reply email and 
> destroy all copies of the original message. If you are the intended 
> recipient, please be advised that the content of this message is subject 
> to access, review and disclosure by the sender's Email System
Administrator.
> 


                                                     
-----------------------------------------------------  
Confidentiality Notice. 
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. If you are the intended recipient, please be
advised that the content of this message is subject to access, review and
disclosure by the sender's Email System Administrator.

------_=_NextPart_001_01C3EFEA.03B4D7F8
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.87">
<TITLE>RE: [Insight-users] Masking a region &amp; thresholding</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi Luis,</FONT>
<BR><FONT SIZE=3D2>Let me look at my code in more detail. I thought I =
had already updated the previous filter and captured its output in my =
&quot;mask&quot;. So the previous pipeline, as far as I am concerned is =
done. I then start my new pipeline</FONT></P>

<P><FONT SIZE=3D2>With mask and call a sequence of filters and then =
call update on that. Since</FONT>
<BR><FONT SIZE=3D2>This is not in a for loop or anything, why is it =
wrong? I understand your point about pipelines in general and not =
messing with the pointers, but I am</FONT></P>

<P><FONT SIZE=3D2>Not sure it applies here.</FONT>
<BR><FONT SIZE=3D2>Let me know.</FONT>
<BR><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2>Radhika</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Luis Ibanez [<A =
HREF=3D"mailto:luis.ibanez at kitware.com">mailto:luis.ibanez at kitware.com</=
A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Monday, February 09, 2004 7:28 PM</FONT>
<BR><FONT SIZE=3D2>To: Radhika Sivaramakrishna</FONT>
<BR><FONT SIZE=3D2>Cc: ITK; Miller, James V (Research)</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Insight-users] Masking a region &amp; =
thresholding</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi Radhika,</FONT>
</P>

<P><FONT SIZE=3D2>You certainly don't want to use iterators</FONT>
<BR><FONT SIZE=3D2>for altering directly an image in the</FONT>
<BR><FONT SIZE=3D2>middle of the pipeline.&nbsp; All your =
changes</FONT>
<BR><FONT SIZE=3D2>will be lost the next time you update the</FONT>
<BR><FONT SIZE=3D2>filters.</FONT>
</P>

<P><FONT SIZE=3D2>You should probably look at the AND, OR</FONT>
<BR><FONT SIZE=3D2>filter and actually mask the gray levels</FONT>
<BR><FONT SIZE=3D2>of the input image using your mask. Then</FONT>
<BR><FONT SIZE=3D2>continue the pipeline with an image that</FONT>
<BR><FONT SIZE=3D2>has the original gray level on the region</FONT>
<BR><FONT SIZE=3D2>of the mask and zeros elsewhere.</FONT>
</P>

<P><FONT SIZE=3D2><A =
HREF=3D"http://www.itk.org/Insight/Doxygen/html/classitk_1_1OrImageFilte=
r.html" =
TARGET=3D"_blank">http://www.itk.org/Insight/Doxygen/html/classitk_1_1Or=
ImageFilter.html</A></FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.itk.org/Insight/Doxygen/html/classitk_1_1AndImageFilt=
er.html" =
TARGET=3D"_blank">http://www.itk.org/Insight/Doxygen/html/classitk_1_1An=
dImageFilter.html</A></FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Regards,</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; Luis</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-------------------------------</FONT>
<BR><FONT SIZE=3D2>Radhika Sivaramakrishna wrote:</FONT>
</P>

<P><FONT SIZE=3D2>&gt; Hi Luis,</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Thanks for entering this as a bug.</FONT>
<BR><FONT SIZE=3D2>&gt; You are right about the cumulators. I should =
declare them as float.</FONT>
<BR><FONT SIZE=3D2>&gt; I do not understand the issue you pointed to =
below.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I am forced to do my calculations this way =
because what I want to do is </FONT>
<BR><FONT SIZE=3D2>&gt; the following:</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Use the histogram analysis to identify a =
threshold to threshold the </FONT>
<BR><FONT SIZE=3D2>&gt; image. But I want to do the thresholding only =
in the region of the mask. </FONT>
<BR><FONT SIZE=3D2>&gt; Ie I am basically happy my mask, except it also =
includes regions in the </FONT>
<BR><FONT SIZE=3D2>&gt; original image that are higher than the =
threshold which I want to remove.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; If</FONT>
<BR><FONT SIZE=3D2>&gt; I just use this threshold through a standard =
Threshold filter, then I </FONT>
<BR><FONT SIZE=3D2>&gt; will end up with a lot of other regions (values =
lower than this </FONT>
<BR><FONT SIZE=3D2>&gt; threshold that I don't need), so I am =
constraining this thresholding </FONT>
<BR><FONT SIZE=3D2>&gt; only in the region of the mask, so I am =
directly editing the ON pixels </FONT>
<BR><FONT SIZE=3D2>&gt; in my mask to switch off at regions in the gray =
level that are higher </FONT>
<BR><FONT SIZE=3D2>&gt; than threshold. Is there a better way to do =
this?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Radhika</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Luis Ibanez [<A =
HREF=3D"mailto:luis.ibanez at kitware.com">mailto:luis.ibanez at kitware.com</=
A>]</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Monday, February 09, 2004 11:59 AM</FONT>
<BR><FONT SIZE=3D2>&gt; To: Radhika Sivaramakrishna</FONT>
<BR><FONT SIZE=3D2>&gt; Cc: ITK; Miller, James V (Research)</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: Re: [Insight-users] Compilation error =
with inPlace filters</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Hi Radhika,</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; This seems to be a bug in the =
RelabelImageFilter.</FONT>
<BR><FONT SIZE=3D2>&gt; The issue has been entered in the bug tracker =
with ID # 582</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; <A =
HREF=3D"http://www.itk.org/Bug/bug.php?op=3Dshow&bugid=3D582&pos=3D0" =
TARGET=3D"_blank">http://www.itk.org/Bug/bug.php?op=3Dshow&bugid=3D582&p=
os=3D0</A> </FONT>
<BR><FONT SIZE=3D2>&gt; &lt;<A =
HREF=3D"http://www.itk.org/Bug/bug.php?op=3Dshow&bugid=3D582&pos=3D0" =
TARGET=3D"_blank">http://www.itk.org/Bug/bug.php?op=3Dshow&bugid=3D582&p=
os=3D0</A>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; In the meantime, please instantiate the =
RelabelImageFilter</FONT>
<BR><FONT SIZE=3D2>&gt; using the same image type for input and =
output.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; ----</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Unrelated to the error above,... but still =
worrisome:</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; In your code you are taking the output of a =
reader and</FONT>
<BR><FONT SIZE=3D2>&gt; using an iterator for changing the value of =
this image.</FONT>
<BR><FONT SIZE=3D2>&gt; (the &quot;mask&quot; image in lines 193 - 201 =
).</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Then you pass the image as input to another =
filter.</FONT>
<BR><FONT SIZE=3D2>&gt; This is a violation of the pipeline =
encapsulation.</FONT>
<BR><FONT SIZE=3D2>&gt; You should use a threshold image filter instead =
of</FONT>
<BR><FONT SIZE=3D2>&gt; using an iterator through the image. The output =
of the</FONT>
<BR><FONT SIZE=3D2>&gt; filters should be const...&nbsp; but we still =
have this</FONT>
<BR><FONT SIZE=3D2>&gt; weakness in ITK filters....</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; The cumulators that you have for frequencies =
are</FONT>
<BR><FONT SIZE=3D2>&gt; being declared unsigned long. They should be =
floats</FONT>
<BR><FONT SIZE=3D2>&gt; or doubles.&nbsp; Note that Frequencies are not =
just counters,</FONT>
<BR><FONT SIZE=3D2>&gt; they actually provide floating point =
values.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp; Regards,</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luis</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; ---------------------------------------</FONT>
<BR><FONT SIZE=3D2>&gt; Radhika Sivaramakrishna wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Hi Luis,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; I actually did the checkout this =
morning and I did see the Dashboard</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; was pretty green. I don't know if I =
am making a silly mistake or a</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; more serious error.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; I have copied my code here which =
doesn't compile and gives the error</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; indicated below. I think the problem =
has something to do with the</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; IntImageType I put in for dealing =
with the Relabel.. filter.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Sorry about not putting the correct =
subject. Will try to make sure to</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; do it from now on.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Radhika</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; From: Luis Ibanez [<A =
HREF=3D"mailto:luis.ibanez at kitware.com">mailto:luis.ibanez at kitware.com</=
A>]</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Sent: Monday, February 09, 2004 =
10:34 AM</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; To: Radhika Sivaramakrishna</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Cc: ITK</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Subject: Re: [Insight-users] =
Compilation error with inPlace filters</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Hi Radhika,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; A number of changes were made last =
week for extending</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; the functionality of =
&quot;InPlace&quot; filters.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; You probably updated your checkout =
in the middle of</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; one of such modifications.&nbsp; =
Please trying cvs updating</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; to this morning (since the nightly =
Dashboard was quite</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; green today).</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;&nbsp;&nbsp; Regards,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Luis,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; PS. Please don't reuse email threads =
with other subjects when</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
you post questions about new topics/problems. This is</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
confusing for anybody trying to follow a thread.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; =
---------------------------------------</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Radhika Sivaramakrishna =
wrote:</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; Hi Luis,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; I am getting this very strange =
error message while compiling. Can you</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; explain what this could =
be?</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; =
/home/rsivaram/Insight/Code/Common/itkInPlaceImageFilter.txx: In =
</FONT>
<BR><FONT SIZE=3D2>&gt; member</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp; function =
`void itk::InPlaceImageFilter&lt;TInputImage,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp; =
TOutputImage&gt;::AllocateOutputs() [with TInputImage =3D =
main(int,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp; =
char**)::IntImageType, TOutputImage =3D main(int,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; char**)::ImageType]':</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; =
/home/rsivaram/Insight/Code/Common/itkImageRegion.h:173: </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; instantiated from here</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; =
/home/rsivaram/Insight/Code/Common/itkInPlaceImageFilter.txx:76: =
no</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; matching</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp; function for =
call to `itk::InPlaceImageFilter&lt;main(int,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp; =
char**)::IntImageType, main(int,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; =
char**)::ImageType&gt;::GraftOutput(main(int,</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp; =
char**)::IntImageType*)'</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; =
/home/rsivaram/Insight/Code/Common/itkImageSource.txx:95: =
candidates</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; are: void</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp; =
itk::ImageSource&lt;TOutputImage&gt;::GraftOutput(TOutputImage*) =
[with</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp; TOutputImage =
=3D main(int, char**)::ImageType]</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; Thanks</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt; Radhika</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; =
-----------------------------------------------------</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; Confidentiality Notice.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; This email message is for the sole =
use of the intended recipient(s)</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; and may contain confidential and =
privileged information. Any</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; unauthorized review, use, disclosure =
or distribution is prohibited. If</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; you are not the intended recipient, =
please contact the sender by reply</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; email and destroy all copies of the =
original message. If you are the</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; intended recipient, please be =
advised that the content of this message</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; is subject to access, review and =
disclosure by the sender's Email</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; System Administrator.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT =
SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt; =
----------------------------------------------------- </FONT>
<BR><FONT SIZE=3D2>&gt; Confidentiality Notice.</FONT>
<BR><FONT SIZE=3D2>&gt; This email message is for the sole use of the =
intended recipient(s) and </FONT>
<BR><FONT SIZE=3D2>&gt; may contain confidential and privileged =
information. Any unauthorized </FONT>
<BR><FONT SIZE=3D2>&gt; review, use, disclosure or distribution is =
prohibited. If you are not </FONT>
<BR><FONT SIZE=3D2>&gt; the intended recipient, please contact the =
sender by reply email and </FONT>
<BR><FONT SIZE=3D2>&gt; destroy all copies of the original message. If =
you are the intended </FONT>
<BR><FONT SIZE=3D2>&gt; recipient, please be advised that the content =
of this message is subject </FONT>
<BR><FONT SIZE=3D2>&gt; to access, review and disclosure by the =
sender's Email System Administrator.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>
<BR>

<P><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT =
SIZE=3D2>-----------------------------------------------------&nbsp; =
</FONT>
<BR><FONT SIZE=3D2>Confidentiality Notice. </FONT>
<BR><FONT SIZE=3D2>This email message is for the sole use of the =
intended recipient(s) and may contain confidential and privileged =
information. Any unauthorized review, use, disclosure or distribution =
is prohibited. If you are not the intended recipient, please contact =
the sender by reply email and destroy all copies of the original =
message. If you are the intended recipient, please be advised that the =
content of this message is subject to access, review and disclosure by =
the sender's Email System Administrator.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C3EFEA.03B4D7F8--