Comments (5)
I can find no documentation regarding what values are valid for time_units in the NIFTI library...
from minc-tools.
After falling down the terrifying rabbithole that is the NIFTI1 library...
https://github.com/NIFTI-Imaging/nifti_clib/blob/9659cbecc827e15c07ccc1a03023e8c348aa14fe/nifti2/nifti1.h#L1329-L1333
from minc-tools.
We need
nim->time_units = NIFTI_UNITS_SEC ;
Or similar set.
Need to find the docs on the units inside MINC.
from minc-tools.
There is a units specification for dimensions:
time:units = "s"
However,
s - String that specifies the units of a dimension, if applicable. The units should be compatible with the UCAR udunits library. In MINC 2.0, this attribute is generally included for informational purposes only and is not interpreted by the MINC library code.
So we either assume seconds, or use this to check and set appropriately on conversion.
from minc-tools.
This issue was indeed resolved by the fix. Sorry, I forgot to update and close the issue...
from minc-tools.
Related Issues (20)
- 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.