<br>Hi Michael,<br><br>Yes, <br>adding the sharpened version of the image to <br>the original image is a common thing to do.<br><br><br>However, if you reconsider the expression:<br><br> Sharpened image = Image - K . Smoothing( Image, Sigma )<br>
<br>and then the suggested addition:<br><br> Final Image = Image + Sharpened Image<br><br>which is equivalent to:<br><br> Final Image = Image * 2 - K . Smoothing( Image, Sigma )<br><br>You may agree with me in that the final image comes<br>
down to a pixel-wise linear combination of the original<br>image and its smoothed version.<br><br>such as:<br><br> Final Image = A . Image - B . Smoothing( Image, Sigma )<br><br>You can select the values of constants A and B to match<br>
any normalization constrains that you may have on the<br>output image.<br><br><br>BTW: <br> You could consider packaging this into a VTK filter<br> and contributing it back to the community by submitting<br> a technical report to the Insight Journal :-)<br>
<a href="http://www.insight-journal.org/">http://www.insight-journal.org/</a><br><br> In that way other users will benefit from your efforts.<br><br><br><br> Regards,<br><br><br> Luis<br><br> <br><br>------------------------------------------------------------------------<br>
<div class="gmail_quote">On Wed, Jun 10, 2009 at 5:28 AM, Michael Knopke <span dir="ltr"><<a href="mailto:Michael.Knopke@gmx.de">Michael.Knopke@gmx.de</a>></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;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p>Thanks a lot Luis for that hint! <br>
After checking some books about filters it’s kind of obvious to me now …<br>
<br>
Just one more question to your approach: <br>
After removing the smoothed version from the original image I probably need to
add the result to the original image again (which enhances edges only), at
least this is what the books suggest or is there another way? If I don’t
add it, I get only an edge image…<br>
<br>
Regards,<br>
Michael</p>
<p> </p>
</div>
</div>
<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 <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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>