[Neuroimaging] [Dipy] Problem with QuickBundle

Eleftherios Garyfallidis garyfallidis at gmail.com
Tue Jul 14 00:15:00 CEST 2015


Hi Ignacio,

Thank you for your question. We are currently changing the API of
QuickBundles. Most likely you are using the documentation from the
development version but running code from a released version?

Can you try

import dipy
dipy.get_info()

and tell me here what you are getting?

Many thanks,
Eleftherios


On Mon, Jul 13, 2015 at 6:00 PM, Ignacio Javier Osorio Wallace <
iosorio at udec.cl> wrote:

> Hello there, my name is Ignacio Osorio Wallace, I'm an electronic engineer
> student at Concepcion University (Chile). I'm currently working on the
> creating of a software that could use your library to reconstruct and
> segment brain fiber from the NIfTI1Image objects.
>
> I followed your examples to get a hint of how to work with Dipy. And I'm
> having some problems with the QuickBundle. The specific problem is shown
> here:
>
> """
> Traceback (most recent call last):
>   File "/home/cocobio/MEGA/2015/Python/Project/segment_quickbundles.py",
> line 43, in <module>
>     clusters = qb.cluster(streamlines)
>   File
> "/usr/local/lib/python2.7/dist-packages/dipy/segment/clustering.py", line
> 459, in cluster
>     ordering=ordering)
>   File "dipy/segment/clustering_algorithms.pyx", line 111, in
> dipy.segment.clustering_algorithms.quickbundles
> (dipy/segment/clustering_algorithms.c:3179)
>   File "dipy/segment/clusteringspeed.pyx", line 273, in
> dipy.segment.clusteringspeed.QuickBundles.assignment_step
> (dipy/segment/clusteringspeed.c:3840)
> ValueError: Data features' shapes must be compatible according to the
> metric used!
> """
>
> I think I'm not doing anything wrong, since this is the example code
> provided by the Dipy web-page. The reconstruction and tracking using ODF is
> working perfectly.
>
> If you could help in any way, I will greatly appreciate.
>
> Thanks for your time. And I hope my English didn't sound to casual.
>
> Ignacio Osorio Wallace.
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20150713/5dd57fac/attachment.html>


More information about the Neuroimaging mailing list