[ITK] [ITK-users] LabelOverlayImageFilter
Dženan Zukić
dzenanz at gmail.com
Mon Nov 14 11:08:19 EST 2016
What you are describing is the default behavior of the filter. What your
problem might be is casting the background value to 8-bit unsigned which is
used for the color image. Try rescaling
<https://itk.org/Doxygen/html/classitk_1_1RescaleIntensityImageFilter.html>
the background image to unsigned char before inputting it to the overlay
filter.
Regards
On Mon, Nov 14, 2016 at 10:37 AM, Abdelkhalek Bakkari <
bakkari.abdelkhalek at hotmail.fr> wrote:
> Hi,
>
>
> I expected that the region which is not overlaid will preserve the same
> intensity.
>
>
> Best regards,
>
>
>
>
> ------------------------------
> *From:* Dženan Zukić <dzenanz at gmail.com>
> *Sent:* 14 November 2016 15:20
> *To:* Abdelkhalek Bakkari
> *Cc:* insight-users
> *Subject:* Re: LabelOverlayImageFilter
>
> Hi Abdelkhalek,
>
> what did you expect the filter to do? How does this output differ from you
> expectation?
>
> Regards,
> Dženan
>
> On Sun, Nov 13, 2016 at 8:46 PM, Abdelkhalek Bakkari <
> bakkari.abdelkhalek at hotmail.fr> wrote:
>
>> Dear ITK users,
>>
>>
>> I am tried to adopt the LabelOverlayImageFilter for 3D images.
>> Unfortunately, the final result is not good enough.
>>
>> I will be glad, if you could help me.
>>
>>
>> In the attachment, you can find a Slice result.
>>
>>
>> Kind regards,
>>
>>
>>
>> Abdelkhalek Bakkari
>> Ph.D candidate in Computer Science
>> Institute of Applied Computer Science
>> Lodz University of Technology, Poland
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20161114/57e73427/attachment.html>
-------------- next part --------------
_____________________________________
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.php
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://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list