[Insight-users] Got NaN from WrapITK registration

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Mon Jan 11 11:32:06 EST 2010


Gaëtan Lehmann wrote:
> PyBuffer should be able to manage all those cases.

If the numpy array and itk image are backed by the same buffer, then
surely some we will need reference counting on the buffer to ensure that
the image buffer is not deallocated prematurely (as is currently
happening).  As a total ITK novice I don't know how hard that is to implement.

If it is hard to implement, then simply copying the array might be an
acceptable solution.  Segfaulting, however, cannot possibly be the right
answer.

> Fill free to file a bug report on ITK bugtracker!

OK.  http://www.itk.org/Bug/view.php?id=10116


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100111/feaba372/attachment.pgp>


More information about the Insight-users mailing list