[MINC-users] [MINC-USERS] getting 4D volume datas

antoine pattin antoine.pattin at insa-lyon.fr
Mon Jul 30 09:50:48 EDT 2012


Thanks Leila for such a quick answer

I checked the file you mentioned and there are indeed a few examples that
might help me.

Best regards,
Antoine


2012/7/27 Leila Baghdadi <baghdadi at phenogenomics.ca>

> Antoine,
>
> I am not at work today so can not check for sure but I can recall having
> an example for 4D volumes (minc2) in libsrc2/test
>
> perhaps you should check that out
>
> HTH
>
> Leila
>
> ----- Original Message -----
> From: antoine pattin <antoine.pattin at gmail.com>
> Sent: Fri, 7/27/2012 11:12am
> To: minc-users at bic.mni.mcgill.ca
> Subject: [MINC-users] [MINC-USERS] getting 4D volume datas
>
> Hello everybody !
>
> Is it possible that the miget_real_value_hyperslab() function isn't
> compatible with 4D volumes ?
> (You can see more details about it at the link :
>
> http://minc.sourcearchive.com/documentation/2.1.00-1/hyper_8c_bac30780b4cebea089eddb8f687ce3c0.html
> )
>
> My objectif is to store dynamic volume datas in a hyperslab (1D array).
> The solution could be inspired from the following and very helpful tutorial
> :
> http://en.wikibooks.org/wiki/MINC/Tutorials/Programming05
>
> I tested it with a static volume (3D) and it perfectly worked.
> I then adapted the code for a 4D data volume and got this executing message
> :
>
> *HDF5-DIAG: Error detected in HDF5 library version: 1.6.1 thread 0.  Back
> trace follows.
>   #000: H5Dio.c line 356 in H5Dread(): selection+offset not within extent
>     major(14): Dataspace interface
>     minor(04): Out of range
> (from miicv_get): Can't read dataset /minc-2.0/image/0/image
> Error getting hyperslab*
>
> Is it because of the 4 dimensions or is it about other parameters linked to
> the volume tested ?
>
> Any help would be appreciated!
>
> Best Regards,
> Antoine
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list