[ITK-users] Creating 3D dome using ITK
Francois Budin
francois.budin at kitware.com
Wed May 10 16:23:02 EDT 2017
I have to admit that I am not sure to picture correctly what you are trying
to do with the dome and the square. However, my guess is that you can you
have an error with the spacing because of a scaling issue. You may want to
scale your ellipsoid by adding scaling values in the transform matrix.
Hope this helps,
Francois
On Wed, May 10, 2017 at 2:49 PM, sidharta <sidharta.gupta93 at gmail.com>
wrote:
> I seemed to have fixed it using the following:
>
> translation[0] = 8;
> translation[1] = 8;
> translation[2] = 0;
>
> <http://itk-users.7.n7.nabble.com/file/n38223/New_Bitmap_Image_%282%29.bmp
> >
>
> which is what I imagined before. So far so good, but the image I am going
> to
> mask this with (or convolve) has a spacing of 0.125 in all directions. I
> achieved the desired results with spacing in all directions = 1. When I
> change the spacing to 0.125 and run the code, the resulting "dome" image is
> blank. Can you tell why it is like this and how I can fix it?
>
> Thank you for your time
> Sidharta
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.
> com/Creating-3D-dome-using-ITK-tp38201p38223.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/5b7e8e0d/attachment.html>
More information about the Insight-users
mailing list