[ITK-users] Creating 3D dome using ITK
Francois Budin
francois.budin at kitware.com
Wed May 10 13:54:39 EDT 2017
Hello Sidharta,
See answers inline below:
On Wed, May 10, 2017 at 11:10 AM, sidharta <sidharta.gupta93 at gmail.com>
wrote:
> Dear Froncois
>
> Thank you for your reply. The reason why I need this dome is because it
> mimics a burr (drill bit). So, I extract densities in a cubic volume and
> then mask this cube with the dome, which essentially would give me an image
> which shows what densities will the burr encounter while drilling. The
> ellipse object seems to be the key here but I don't know how to transform.
> The rotation would be identity but the translation is the key. So following
> is a pseudo code with I came up with, correct me if I am wrong:
>
> 1. Make an ellipse object of radius = 2 * edge length of the cube.
>
Don't you mean that the ellipse radius is 1/2 of the edge length of the
cube?
> 2. With SpatialObjectToImageFilter, set size of the image as the edge
> length
> of the cube (in all dimensions). Then transform the object (ellipse) so
> that
> the center of the ellipse lies at the origin of the image. This is what I
> am
> not able to figure how to achieve.
>
You probably don't want the center of the image to lie at the origin, but
in the center of your edge if I understand correctly, at least for 2 of
your 3 dimensions, and at the origin for the 3rd dimension to obtain a
half-dome.
> Kindly let me know what you think
>
> Regards,
> Sidharta
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.c
> om/Creating-3D-dome-using-ITK-tp38201p38218.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/insight-users/attachments/20170510/8c947454/attachment.html>
More information about the Insight-users
mailing list