[Neuroimaging] [Dipy] Problem with QuickBundle
Ignacio Javier Osorio Wallace
iosorio at udec.cl
Tue Jul 14 22:44:00 CEST 2015
It work! Thanks for everything, now I'm going to try use it with my own
data sets.
Thanks for your time Eleftherious.
El 2015-07-14 17:34, Eleftherios Garyfallidis escribió:
> Okay you are using the released version of Dipy.
>
> Can you try to run this tutorial in your computer and tell me if it
> works for you?
>
> https://github.com/nipy/dipy/blob/maint/0.9.x/doc/examples/segment_quickbundles.py
> [2]
>
> On Tue, Jul 14, 2015 at 4:30 PM, Ignacio Javier Osorio Wallace
> <iosorio at udec.cl> wrote:
>
>> it prints: 0.9.2
>>
>> El 2015-07-14 16:57, Eleftherios Garyfallidis escribió:
>>
>> And what
>>
>> dipy.__version__
>>
>> is giving you?
>>
>> On Tue, Jul 14, 2015 at 3:47 PM, Ignacio Javier Osorio Wallace
>> <iosorio at udec.cl> wrote:
>>
>> Hi Eleftherios,
>>
>> Thanks for replying so soon.
>>
>> What i got from dipy.get_info() was:
>>
>> {'sys_version': '2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500
>> 32 bit (Intel)]', 'commit_source': '(none found)', 'np_version':
>> '1.9.2', 'commit_hash': '<not found>', 'pkg_path':
>> 'C:Python27libsite-packagesdipy', 'sys_executable':
>> 'C:Python27python.exe', 'sys_platform': 'win32'}
>>
>> I hope this will help.
>>
>> Many thanks,
>> Ignacio.
>>
>> El 2015-07-13 19:15, Eleftherios Garyfallidis escribió:
>>
>> 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 [1] [1] [1]
>>
>> Links:
>> ------
>> [1] https://mail.python.org/mailman/listinfo/neuroimaging [1] [1]
>>
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging [1] [1]
>>
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging [1] [1]
>>
>> Links:
>> ------
>> [1] https://mail.python.org/mailman/listinfo/neuroimaging [1]
>>
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging [1]
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging [1]
>
>
>
> Links:
> ------
> [1] https://mail.python.org/mailman/listinfo/neuroimaging
> [2]
> https://github.com/nipy/dipy/blob/maint/0.9.x/doc/examples/segment_quickbundles.py
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
More information about the Neuroimaging
mailing list