[ITK] [ITK-users] Suggestion for itk::BoundingBox

Dženan Zukić dzenanz at gmail.com
Fri Sep 15 09:50:43 EDT 2017


Hi Zhuangming Shen,

itk::Region already has IsInside
<https://itk.org/Doxygen/html/classitk_1_1ImageRegion.html#a915f081743742ec14ca69c876e98fac4>
method. A method which returns an image with all 1s inside the region, and
0s outside is a big functionality overlap with IsInside method, and
probably too specific to be worth maintaining it in the long term.

You can add it as a feature request, but I doubt anyone will implement
that: those competent enough to implement it will not see a big need for
it, and those who see the need for it are probably not competent enough to
implement it :)

It would be a good exercise if you tried to implement it yourself.

Regards,
Dženan Zukić, PhD, Senior R&D Engineer, Kitware (Carrboro, N.C.)

On Fri, Sep 15, 2017 at 9:10 AM, Francois Budin <francois.budin at kitware.com>
wrote:

> Hello Zhuangming Shen,
>
> Thanks for suggesting new functionalities. Could you add that suggestion
> on JIRA [1], the bug tracking system ITK uses.
>
> Thanks,
> Francois
> [1] https://issues.itk.org/jira/secure/Dashboard.jspa
>
> On Thu, Sep 14, 2017 at 8:46 PM, 沈庄明 <zhuangming.shen at sphic.org.cn> wrote:
>
>> Hi all,
>>
>>
>> Bounding box is a very useful functionality for me. I suggest whether
>> itk::BoundingBox can provide an API which will directly output a binary
>> image. For the binary image,  pixels/voxels inside the bounding box are
>> represented as 1, other pixels/voxels outside the bounding box are
>> represented as 0.
>>
>>
>>
>> Regards,
>>
>>
>> Zhuangming Shen
>>
>> _____________________________________
>> 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
>>
>>
>
> _____________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170915/4afe9300/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