[Insight-users] Distance map computation on an empty image
Luis Ibanez
luis.ibanez at kitware.com
Mon May 24 11:38:19 EDT 2010
Hi Juan, Andrey,
Thanks for pointing this out, and for providing the images
I tried to download the images,
http://iie.fing.edu.uy/~juanc/files/tmp
but they seem to lack reading permission.
I got the error message:
"Forbidden
You don't have permission to access
/~juanc/files/tmp/example.mask.01.png on this server.:"
Could you please take a look ?
Thanks
Luis
-------------------------------------------------------
On Sun, May 23, 2010 at 12:19 PM, Juan Cardelino
<juan.cardelino at gmail.com> wrote:
> In my case, I think this problem is also related to the depth of the
> image. With a zero input image you get that ramp, which is wrong. But,
> if I use the input image with 8 bit depth I get the same, probably
> because the threshold to determine the input points is fixed and not
> relative to the depth of the image.
> Regards,
> Juan
>
>>
>> I got the same result even with a non-empty image, maybe my problem is
>> that the pixels I think there are white, and below some threshold and
>> taken as zero. But anyway, I've used the same method to generate a
>> couple of input masks, same images size but different contents. In one
>> case it works and in the other gives the same ramp as yours.
>>
>> working example:
>> SignedDanielssonDistanceMapImageFilter example.mask.01.png map.01.mha
>> a.mha b.mha
>> non-working example:
>> SignedDanielssonDistanceMapImageFilter example.mask.02.png map.02.mha
>> a.mha b.mha
>>
>> you can find both input and output images at
>> http://iie.fing.edu.uy/~juanc/files/tmp
>>
>> Seems a bug to me too.
>> Regards,
>> Juan
>>
> _____________________________________
> 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