[ITK] [ITK-users] Pipeline update problem (I suppose)

elena bresciani elena.bresciani87 at gmail.com
Tue Sep 9 11:50:31 EDT 2014


Hello guys,

I'm writing an ITK script using C++ functions in order to reduce the number
of operations repetition. What I need to do is: given a scan with 4 objects
I need to separate them in 4 images and, if vertically oriented, rotate
them 90 degrees in order to have them horizontal.
I already have successfully compiled the code necessary to crop ROIs and
the rotation step separately, everything works well, but when I try to
unify all in a single script I don't get the desired output. I suppose that
the problem could be in a missing Update() or something but I can't
identify it.

Attached you can find a concise version of the code; whilst
SegmentedImage1..4 are as attended OutputImage1..4 have right size but are
all filled with gray level 100. As I said before, I can't understand the
problem because the same code used alone (attachment rotation.cxx), works
well.


Any guess?
Thanks
Elena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140909/fb07f289/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code
Type: application/octet-stream
Size: 6155 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20140909/fb07f289/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rotation.cxx
Type: application/octet-stream
Size: 3565 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20140909/fb07f289/attachment-0001.obj>
-------------- 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