Comments (16)
For reference, the current github source code of nibabel
will load MINC files and gives the same values for mean, max, min etc as mincstats
on - for example - a small MINC2 file in the repo: https://github.com/nipy/nibabel/blob/master/nibabel/tests/data/small.mnc
from minc-tools.
I'll take a look....
Is it the problem in master or develop branch ?
from minc-tools.
I'm sorry - I was running from an Ubuntu 12.04 install - it may well be that the problem is gone in one of these branches. I haven't succeeded yet in building minc-tools I'm afraid. On Wheezy, my last error was (latest git checkout of libminc
and minc-tools
:
cd libminc
./autogen.sh
./configure --prefix=/home/mb312/usr/local
make && make install
cd ../minc-tools
./autogen.sh
./configure --prefix=/home/mb312/usr/local --with-minc2
make && make install
leading to:
gcc -DHAVE_CONFIG_H -I. -I./progs/Proglib -I./conversion/Acr_nema -g -O2 -MT progs/coordinates/voxeltoworld.o -MD -MP -MF $depbase.Tpo -c -o progs/coordinates/voxeltoworld.o progs/coordinates/voxeltoworld.c &&\
mv -f $depbase.Tpo $depbase.Po
progs/coordinates/voxeltoworld.c: In function ‘main’:
progs/coordinates/voxeltoworld.c:137:74: error: ‘VIO_OK’ undeclared (first use in this function)
progs/coordinates/voxeltoworld.c:137:74: note: each undeclared identifier is reported only once for each function it appears in
from minc-tools.
Use develop branch , and use cmake for configuring
from minc-tools.
cd libminc
git clean -fxd
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/home/mb312/usr/local ..
make && make install
cd ../../minc-tools
git clean -fxd
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/home/mb312/usr/local -DLIBMINC_DIR=/home/mb312/dev_trees/libminc/build ..
make
Causing:
[ 28%] Building C object progs/CMakeFiles/mincmorph.dir/mincmorph/mincmorph.c.o
/home/mb312/dev_trees/minc-tools/progs/mincmorph/mincmorph.c: In function ‘main’:
/home/mb312/dev_trees/minc-tools/progs/mincmorph/mincmorph.c:525:55: error: ‘VIO_OK’ undeclared (first use in this function)
/home/mb312/dev_trees/minc-tools/progs/mincmorph/mincmorph.c:525:55: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [progs/CMakeFiles/mincmorph.dir/mincmorph/mincmorph.c.o] Error 1
make[1]: *** [progs/CMakeFiles/mincmorph.dir/all] Error 2
make: *** [all] Error 2
from minc-tools.
I'll be offline for the next few weeks while I'm in Cuba.
from minc-tools.
the error about VIO_OK indicates that mic-tools is from master branch and libminc is from develop branch
from minc-tools.
Do you mean the other way round? Yes, I was using libminc 'master'
cd libminc
git co develop
git clean -fxd
git submodule update --init
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/home/mb312/usr/local ..
make && make install
cd ../../minc-tools
git co develop
git clean -fxd
git submodule update --init
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/home/mb312/usr/local -DLIBMINC_DIR=/home/mb312/dev_trees/libminc/build ..
make
gives:
[ 2%] Building C object progs/CMakeFiles/minc_modify_header.dir/minc_modify_header/minc_modify_header.c.o
Linking C executable minc_modify_header
CMakeFiles/minc_modify_header.dir/minc_modify_header/minc_modify_header.c.o: In function `main':
minc_modify_header.c:(.text+0x1f2): undefined reference to `miexpand_file'
from minc-tools.
You have to enable support for MINC1 : -DLIBMINC_MINC1_SUPPORT:BOOL=ON
from minc-tools.
[ 95%] Building C object conversion/CMakeFiles/nii2mnc.dir/nifti1/nii2mnc.c.o
/home/mb312/dev_trees/minc-tools/conversion/nifti1/nii2mnc.c: In function ‘main’:
/home/mb312/dev_trees/minc-tools/conversion/nifti1/nii2mnc.c:123:5: error: unknown type name ‘Transform’
/home/mb312/dev_trees/minc-tools/conversion/nifti1/nii2mnc.c:124:5: error: unknown type name ‘General_transform’
/home/mb312/dev_trees/minc-tools/conversion/nifti1/nii2mnc.c:333:7: warning: passing argument 1 of ‘make_identity_transform’ from incompatible pointer type [enabled by default]
from minc-tools.
pull the updates , it should compile now
from minc-tools.
I can't see any recent updates in minc-tools
or libminc
. Should I be looking somewhere else?
from minc-tools.
I merged changes from master into develop, they are older then the last commit to develop , so they don't show up.
In particular this commit is important: 13ebefa
from minc-tools.
Thanks Vlad,
I'm all for pushing all the current changes from develop to master now
ready for the next release. All the testing I have done on the develop
branch so far has been OK.
a
On 8 September 2013 15:15, Vladimir S. FONOV [email protected]:
I merged changes from master into develop, they are older then the last
commit to develop , so they don't show up.
In particular this commit is important: 13ebefahttps://github.com/BIC-MNI/minc-tools/commit/13ebefae02c6151d9aca0f5d92fb905cf64c20b7—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-24015279
.
from minc-tools.
Hmm, somehow there was something going on with VIO_ prefix in nii2mnc - looks like I missed it in last pull request
from minc-tools.
Tested with latest versions, fixed.
from minc-tools.
Related Issues (20)
- mnc2nii do not populate time_units header field in the NIfTI file HOT 5
- volume_stats: Assertion failed in CachedArray.cc AND seg fault in spline_smooth HOT 2
- dcm2mnc - phase encore direction information missing
- mnc2nii requires no transformation input? HOT 3
- Tempdir handling by various MINC tools HOT 1
- can't be built outside of toolkit due to missing cmake-modules/FindNIFTI.cmake HOT 2
- mnc2nii - Floating point exception (core dumped) error HOT 4
- nii2mnc doesn't seem to handle scl_slope and scl_inter properly
- Undefined behaviour in mincresample HOT 1
- 'Floating point exception' error using mnc2nii HOT 3
- Use min-tools on Win10 HOT 1
- mnc2nii not populating fields dim_info and slice_code in the NIfTI file HOT 2
- mnc2nii error - "floating point exception (core dumped)" HOT 5
- mincreshape modifies image-min when changing type HOT 1
- dcm2mnc binary versions HOT 4
- dcm2mnc issue with Siemens Prisma scanner (QSM and multi-echo fieldmap)
- dcm2mnc issue with GE MEDICAL SYSTEMS DISCOVERY MR750w HOT 2
- dcm2mnc issue with Philips Medical Systems Ingenia HOT 2
- mincstats does not honour order of command-line arguments
- mnc2nii label creates wrong affine matrix when direction_cosines is not specified HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minc-tools.