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>       input intensity values /  physical coordinates<br>
<br>    *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:      input intensity units<br>
<br>Second Order :  input intensity units / (physical units)^2<br><br><br><br>    Regards,<br><br><br>         Luis<br><br><br><br>-------------------------------------------------------------------------------<br><div class="gmail_quote">
On Wed, Sep 9, 2009 at 9:51 AM, Oleksandr Dzyubak <span dir="ltr">&lt;<a href="mailto:adzyubak@gmail.com">adzyubak@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Don&#39;t you change the units while convolving with the Gaussian?<br>
<br>
Alex<br>
<br>
Kishore Mosaliganti wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
The resulting units are in world coordinates. You will not need to divide by spacing. The sigma is also in world coordinates.<br>
<br>
Kishore<br>
<br></div><div><div></div><div class="h5">
On Tue, Sep 8, 2009 at 11:49 AM, Gomez Herrero, Alberto &lt;<a href="mailto:alberto.gomez-herrero@philips.com" target="_blank">alberto.gomez-herrero@philips.com</a> &lt;mailto:<a href="mailto:alberto.gomez-herrero@philips.com" target="_blank">alberto.gomez-herrero@philips.com</a>&gt;&gt; wrote:<br>

<br>
    Hello all,<br>
<br>
     <br>
    this is a question regarding derivative filters in general and the<br>
    RecursiveGaussianImageFilter  in particular.<br>
<br>
     <br>
    When we compute, say, the first order derivative of, say, a 2D<br>
     image “ I“ we get two images of the same size, “Ix”, and “Iy”. My<br>
    question is,  the resulting value (i.e. the Ix and Iy gray levels)<br>
    is expressed in what units?, I mean, if the gradient is defined as<br>
    increment_of_gray_level /<br>
    increment_of_distance_in_world_coordinates, everything is ok; but<br>
    if this filter works as a simple pixelwise convolution mask, then<br>
    the gradient is in increment_of_gray_level / increment_of_pixels.<br>
    In that case, I need to divide by the spacing to get the right units.<br>
<br>
     <br>
    I guess this is a very basic question, but I really need to make<br>
    sure that this filters work as the first definition. I can’t find<br>
    it in the code, I only know that the sigma for the smoothing is in<br>
    world coordinates though…<br>
<br>
     <br>
    Anyone can clarify this please?<br>
<br>
     <br>
    Thanks,<br>
<br>
     <br>
    Alberto<br>
<br>
<br>
    ------------------------------------------------------------------------<br>
    The information contained in this message may be confidential and<br>
    legally protected under applicable law. The message is intended<br>
    solely for the addressee(s). If you are not the intended<br>
    recipient, you are hereby notified that any use, forwarding,<br>
    dissemination, or reproduction of this message is strictly<br>
    prohibited and may be unlawful. If you are not the intended<br>
    recipient, please contact the sender by return e-mail and destroy<br>
    all copies of the original message.<br>
<br>
    _____________________________________<br></div></div>
    Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<div class="im"><br>
<br>
    Visit other Kitware open-source projects at<br>
    <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
    Please keep messages on-topic and check the ITK FAQ at:<br>
    <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
    Follow this link to subscribe/unsubscribe:<br>
    <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
<br></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
  <br>
</div></blockquote><div><div></div><div class="h5">
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br>