[Insight-users] LaplacianImageFilter only works on float or double images?

Bill Lorensen bill.lorensen at gmail.com
Fri Dec 3 14:04:50 EST 2010


All of the edge detection filters require "float" data types. I assume
this os because edge detection is sensitive to noise (and probably
truncation errors).  As a test you could turn off concept checking and
compare an unsigned char result with a float result.

On Fri, Dec 3, 2010 at 12:49 PM, David Doria <daviddoria at gmail.com> wrote:
> I am getting concept checking errors when trying to compute the
> Laplacian of an unsigned char image. Indeed it is mentioned in the
> documentation that  the input image must be float or double.  Is there
> a reason for this limitation?
>
> David
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list