[ITK] [ITK-users] Draw a an ellipse in a specific orientation in 3D image

Dženan Zukić dzenanz at gmail.com
Mon Oct 26 14:25:06 EDT 2015


If you want arbitrarily oriented ellipse, you should probably approximate
it by PolyLineParametricPath
<http://www.itk.org/Doxygen/html/classitk_1_1PolyLineParametricPath.html>.
Then use iterator to visit pixels which should be set to 1. See Path
<http://www.itk.org/Doxygen/html/classitk_1_1Path.html>docs. Perhaps also
take a look at LineSpatialObject example
<http://itk.org/Wiki/ITK/Examples/SpatialObjects/LineSpatialObject>.

HTH

On Mon, Oct 26, 2015 at 1:15 PM, Daoued23 <mlt.khawla at gmail.com> wrote:

> Hello everyone,
> I am new to itk and I am trying to draw a ellipse centered in 3D image, by
> providing it's orientation and the length of its axis.
> Do you have any idea which class should i use?
> I took a look on /itk::EllipseSpatialObject/ but it  didn't really help, it
> draws only an horizontal or vertical ellipse.
>
> Thanks
> Best regards
>
> Daoued23
>
>
>
>
> --
> View this message in context:
> http://itk-users.7.n7.nabble.com/Draw-a-an-ellipse-in-a-specific-orientation-in-3D-image-tp36348.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
> _____________________________________
> 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/20151026/1cb55c9a/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