[MINC-users] pyminc problem getting dimension sizes
Matthijs van Eede
matthijs at mouseimaging.ca
Wed Mar 5 13:57:23 EST 2014
Hi Thomas,
What version of MINC are you using? Could you give me the output of the following:
mincresample -version
Thanks,
Matthijs
----- Original Message -----
From: "Thomas Funck" <thomas.funck at mail.mcgill.ca>
To: minc-users at bic.mni.mcgill.ca
Sent: Wednesday, March 5, 2014 1:38:04 PM
Subject: [MINC-users] pyminc problem getting dimension sizes
Hi again,
I'm trying to read in a minc file (minc 2, float) with pyminc, but I'm getting issues with the sizes of the dimensions. Using "libminc.miget_volumes_sizes" in volumes.py I get dimensions of [932007903413L, 181L, 0L] instead of of [181, 217, 181] (which is what mincinfo gives me) . There appears to have been earlier issues (https://github.com/mcvaneede/pyminc/pull/5) with a discrepancy between the data type used in libpyminc2.py and minc-2.2. I tried changing "misize_t" in libpyminc2.py to c_uint, c_ulong from the default of c_ulonglong, but to no avail.
Thanks again for any help!
Thomas
________________________________________
From: minc-users-bounces at bic.mni.mcgill.ca [minc-users-bounces at bic.mni.mcgill.ca] on behalf of minc-users-request at bic.mni.mcgill.ca [minc-users-request at bic.mni.mcgill.ca]
Sent: Wednesday, March 05, 2014 12:00 PM
To: minc-users at bic.mni.mcgill.ca
Subject: MINC-users Digest, Vol 104, Issue 2
Send MINC-users mailing list submissions to
minc-users at bic.mni.mcgill.ca
To subscribe or unsubscribe via the World Wide Web, visit
http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
or, via email, send a message with subject or body 'help' to
minc-users-request at bic.mni.mcgill.ca
You can reach the person managing the list at
minc-users-owner at bic.mni.mcgill.ca
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MINC-users digest..."
Today's Topics:
1. Shared minc libraries on BIC server (Thomas Funck)
2. Re: Shared minc libraries on BIC server (Vladimir S. FONOV)
----------------------------------------------------------------------
Message: 1
Date: Tue, 4 Mar 2014 22:16:17 +0000
From: Thomas Funck <thomas.funck at mail.mcgill.ca>
To: "minc-users at bic.mni.mcgill.ca" <minc-users at bic.mni.mcgill.ca>
Subject: [MINC-users] Shared minc libraries on BIC server
Message-ID:
<53F3FD0032C9CC4BA836E8F0FC289065317BF46E at EXMBX2010-3.campus.MCGILL.CA>
Content-Type: text/plain; charset="us-ascii"
Hi,
I want to use pyminc, but I can't seem locate shared minc libraries on the BIC server. Do you I just need to recompile minc on my own terminal with the "--enable=shared" flag or there some way around this (maybe using pyminc with static libraries)?
Thanks,
Thomas
------------------------------
Message: 2
Date: Tue, 04 Mar 2014 17:28:02 -0500
From: "Vladimir S. FONOV" <vladimir.fonov at gmail.com>
To: minc-users at bic.mni.mcgill.ca
Subject: Re: [MINC-users] Shared minc libraries on BIC server
Message-ID: <53165372.1080909 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hello,
I prefer compiling it all statically to avoid conflicts between
different versions of minc, HDF5 and NETCDF which are floating around.
If you decide to build latest minc yourself , then I suggest using cmake
to build it.
On 14-03-04 05:16 PM, Thomas Funck wrote:
> I want to use pyminc, but I can't seem locate shared minc libraries on the BIC server. Do you I just need to recompile minc on my own terminal with the "--enable=shared" flag or there some way around this (maybe using pyminc with static libraries)?
>
> Thanks,
--
Best regards,
Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com
------------------------------
_______________________________________________
MINC-users mailing list
MINC-users at bic.mni.mcgill.ca
http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
End of MINC-users Digest, Vol 104, Issue 2
******************************************
_______________________________________________
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