No subject


Mon Aug 10 18:29:21 EDT 2009


<br>
RecursiveGaussianImageFilter &lt;<a href=3D"http://www.itk.org/Doxygen/html=
/classitk_1_1RecursiveGaussianImageFilter.html" target=3D"_blank">http://ww=
w.itk.org/Doxygen/html/classitk_1_1RecursiveGaussianImageFilter.html</a>&gt=
; is the base class for recursive filters that approximate convolution with=
 the Gaussian kernel.<br>

<br>
In this case, wouldn&#39;t the units from the RecursiveGaussian filter matc=
h those you would have<br>
from the convolution?<br>
<br>
Alex<br>
<br>
Luis Ibanez wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class=3D"im"=
>
The RecursiveGaussian filter doesn&#39;t use convolution.<br>
<br>
The value of sigma is set in physical coordinates.<br>
<br>
The output pixel values will have units of :<br>
<br>
 =A0 =A0 =A0 input intensity values / =A0physical coordinates<br>
<br>
 =A0 =A0*IF* you use the FirstOrder setting.<br>
<br>
Note that there are also ZeroOrder and SecondOrder<br>
settings.<br>
<br>
In which case the intensity units of the output will be:<br>
<br>
ZeroOrder: =A0 =A0 =A0input intensity units<br>
<br>
Second Order : =A0input intensity units / (physical units)^2<br>
<br>
<br>
<br>
 =A0 =A0Regards,<br>
<br>
<br>
 =A0 =A0 =A0 =A0 Luis<br>
<br>
<br>
<br>
---------------------------------------------------------------------------=
----<br></div><div><div></div><div class=3D"h5">
On Wed, Sep 9, 2009 at 9:51 AM, Oleksandr Dzyubak &lt;<a href=3D"mailto:adz=
yubak at gmail.com" target=3D"_blank">adzyubak at gmail.com</a> &lt;mailto:<a hre=
f=3D"mailto:adzyubak at gmail.com" target=3D"_blank">adzyubak at gmail.com</a>&gt=
;&gt; wrote:<br>

<br>
 =A0 =A0Don&#39;t you change the units while convolving with the Gaussian?<=
br>
<br>
 =A0 =A0Alex<br>
<br>
 =A0 =A0Kishore Mosaliganti wrote:<br>
<br>
 =A0 =A0 =A0 =A0The resulting units are in world coordinates. You will not<=
br>
 =A0 =A0 =A0 =A0need to divide by spacing. The sigma is also in world coord=
inates.<br>
<br>
 =A0 =A0 =A0 =A0Kishore<br>
<br>
 =A0 =A0 =A0 =A0On Tue, Sep 8, 2009 at 11:49 AM, Gomez Herrero, Alberto<br>
 =A0 =A0 =A0 =A0&lt;<a href=3D"mailto:alberto.gomez-herrero at philips.com" ta=
rget=3D"_blank">alberto.gomez-herrero at philips.com</a><br>
 =A0 =A0 =A0 =A0&lt;mailto:<a href=3D"mailto:alberto.gomez-herrero at philips.=
com" target=3D"_blank">alberto.gomez-herrero at philips.com</a>&gt;<br>
 =A0 =A0 =A0 =A0&lt;mailto:<a href=3D"mailto:alberto.gomez-herrero at philips.=
com" target=3D"_blank">alberto.gomez-herrero at philips.com</a><br>
 =A0 =A0 =A0 =A0&lt;mailto:<a href=3D"mailto:alberto.gomez-herrero at philips.=
com" target=3D"_blank">alberto.gomez-herrero at philips.com</a>&gt;&gt;&gt; wr=
ote:<br>
<br>
 =A0 =A0 =A0 =A0 =A0 Hello all,<br>
<br>
 =A0 =A0 =A0 =A0 =A0  =A0 =A0 =A0 =A0 =A0 this is a question regarding deri=
vative filters in general<br>
 =A0 =A0 =A0 =A0and the<br>
 =A0 =A0 =A0 =A0 =A0 RecursiveGaussianImageFilter =A0in particular.<br>
<br>
 =A0 =A0 =A0 =A0 =A0  =A0 =A0 =A0 =A0 =A0 When we compute, say, the first o=
rder derivative of, say, a 2D<br>
 =A0 =A0 =A0 =A0 =A0 =A0image =93 I=93 we get two images of the same size, =
=93Ix=94, and<br>
 =A0 =A0 =A0 =A0=93Iy=94. My<br>
 =A0 =A0 =A0 =A0 =A0 question is, =A0the resulting value (i.e. the Ix and I=
y gray<br>
 =A0 =A0 =A0 =A0levels)<br>
 =A0 =A0 =A0 =A0 =A0 is expressed in what units?, I mean, if the gradient i=
s<br>
 =A0 =A0 =A0 =A0defined as<br>
 =A0 =A0 =A0 =A0 =A0 increment_of_gray_level /<br>
 =A0 =A0 =A0 =A0 =A0 increment_of_distance_in_world_coordinates, everything=
 is<br>
 =A0 =A0 =A0 =A0ok; but<br>
 =A0 =A0 =A0 =A0 =A0 if this filter works as a simple pixelwise convolution=
<br>
 =A0 =A0 =A0 =A0mask, then<br>
 =A0 =A0 =A0 =A0 =A0 the gradient is in increment_of_gray_level /<br>
 =A0 =A0 =A0 =A0increment_of_pixels.<br>
 =A0 =A0 =A0 =A0 =A0 In that case, I need to divide by the spacing to get t=
he<br>
 =A0 =A0 =A0 =A0right units.<br>
<br>
 =A0 =A0 =A0 =A0 =A0  =A0 =A0 =A0 =A0 =A0 I guess this is a very basic ques=
tion, but I really need to<br>
 =A0 =A0 =A0 =A0make<br>
 =A0 =A0 =A0 =A0 =A0 sure that this filters work as the first definition. I=
<br>
 =A0 =A0 =A0 =A0can=92t find<br>
 =A0 =A0 =A0 =A0 =A0 it in the code, I only know that the sigma for the<br>
 =A0 =A0 =A0 =A0smoothing is in<br>
 =A0 =A0 =A0 =A0 =A0 world coordinates though=85<br>
<br>
 =A0 =A0 =A0 =A0 =A0  =A0 =A0 =A0 =A0 =A0 Anyone can clarify this please?<b=
r>
<br>
 =A0 =A0 =A0 =A0 =A0  =A0 =A0 =A0 =A0 =A0 Thanks,<br>
<br>
 =A0 =A0 =A0 =A0 =A0  =A0 =A0 =A0 =A0 =A0 Alberto<br>
<br>
<br>
 =A0 =A0 =A0 =A0  =A0 =A0 =A0 =A0 -----------------------------------------=
-------------------------------<br>
 =A0 =A0 =A0 =A0 =A0 The information contained in this message may be<br>
 =A0 =A0 =A0 =A0confidential and<br>
 =A0 =A0 =A0 =A0 =A0 legally protected under applicable law. The message is=
 intended<br>
 =A0 =A0 =A0 =A0 =A0 solely for the addressee(s). If you are not the intend=
ed<br>
 =A0 =A0 =A0 =A0 =A0 recipient, you are hereby notified that any use, forwa=
rding,<br>
 =A0 =A0 =A0 =A0 =A0 dissemination, or reproduction of this message is stri=
ctly<br>
 =A0 =A0 =A0 =A0 =A0 prohibited and may be unlawful. If you are not the int=
ended<br>
 =A0 =A0 =A0 =A0 =A0 recipient, please contact the sender by return e-mail =
and<br>
 =A0 =A0 =A0 =A0destroy<br>
 =A0 =A0 =A0 =A0 =A0 all copies of the original message.<br>
<br>
 =A0 =A0 =A0 =A0 =A0 _____________________________________<br>
 =A0 =A0 =A0 =A0 =A0 Powered by <a href=3D"http://www.kitware.com" target=
=3D"_blank">www.kitware.com</a> &lt;<a href=3D"http://www.kitware.com" targ=
et=3D"_blank">http://www.kitware.com</a>&gt;<br>
 =A0 =A0 =A0 =A0&lt;<a href=3D"http://www.kitware.com" target=3D"_blank">ht=
tp://www.kitware.com</a>&gt;<br>
<br>
<br>
 =A0 =A0 =A0 =A0 =A0 Visit other Kitware open-source projects at<br>
 =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.kitware.com/opensource/opensourc=
e.html" target=3D"_blank">http://www.kitware.com/opensource/opensource.html=
</a><br>
<br>
 =A0 =A0 =A0 =A0 =A0 Please keep messages on-topic and check the ITK FAQ at=
:<br>
 =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.itk.org/Wiki/ITK_FAQ" target=3D"=
_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
 =A0 =A0 =A0 =A0 =A0 Follow this link to subscribe/unsubscribe:<br>
 =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.itk.org/mailman/listinfo/insight=
-users" target=3D"_blank">http://www.itk.org/mailman/listinfo/insight-users=
</a><br>
<br>
<br>
 =A0 =A0 =A0 =A0-----------------------------------------------------------=
-------------<br>
<br>
<br>
<br>
 =A0 =A0 =A0 =A0_____________________________________<br>
 =A0 =A0 =A0 =A0Powered by <a href=3D"http://www.kitware.com" target=3D"_bl=
ank">www.kitware.com</a> &lt;<a href=3D"http://www.kitware.com" target=3D"_=
blank">http://www.kitware.com</a>&gt;<br>
<br>
 =A0 =A0 =A0 =A0Visit other Kitware open-source projects at<br>
 =A0 =A0 =A0 =A0<a href=3D"http://www.kitware.com/opensource/opensource.htm=
l" target=3D"_blank">http://www.kitware.com/opensource/opensource.html</a><=
br>
<br>
 =A0 =A0 =A0 =A0Please keep messages on-topic and check the ITK FAQ at:<br>
 =A0 =A0 =A0 =A0<a href=3D"http://www.itk.org/Wiki/ITK_FAQ" target=3D"_blan=
k">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
 =A0 =A0 =A0 =A0Follow this link to subscribe/unsubscribe:<br>
 =A0 =A0 =A0 =A0<a href=3D"http://www.itk.org/mailman/listinfo/insight-user=
s" target=3D"_blank">http://www.itk.org/mailman/listinfo/insight-users</a><=
br>
 =A0 =A0 =A0 =A0 <br>
<br>
 =A0 =A0_____________________________________<br>
 =A0 =A0Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www=
.kitware.com</a> &lt;<a href=3D"http://www.kitware.com" target=3D"_blank">h=
ttp://www.kitware.com</a>&gt;<br>
<br>
 =A0 =A0Visit other Kitware open-source projects at<br>
 =A0 =A0<a href=3D"http://www.kitware.com/opensource/opensource.html" targe=
t=3D"_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
 =A0 =A0Please keep messages on-topic and check the ITK FAQ at:<br>
 =A0 =A0<a href=3D"http://www.itk.org/Wiki/ITK_FAQ" target=3D"_blank">http:=
//www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
 =A0 =A0Follow this link to subscribe/unsubscribe:<br>
 =A0 =A0<a href=3D"http://www.itk.org/mailman/listinfo/insight-users" targe=
t=3D"_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
<br>
</div></div></blockquote>
<br>
</blockquote></div><br>

--00163646c98ab8e43c047326001a--


More information about the Insight-users mailing list