Comments (3)
Just a minor correction, @nilgoyette , the qform_code
should also be 1
. 0
means that it's not recorded.
from nifti-rs.
My colleague @jchoude tells me that we should do:
- reading
- Normal case: if either
sform_code
orqform_code
is present (not 0), apply the requested one. - Special case: both are present. Standard says nothing about this case but most tools use
sform
- Normal case: if either
- writing: calculate and write the 2 transformations with
sform_code = 1
andqform_code = 0
. We will have to wait for #22 to do it properly though.
This doesn't directly answer the question, but as I understand it, the default Header should be
- "identity" in both transformations
sform_code = 1
qform_code = 0
from nifti-rs.
I believe this has been resolved in #56. As usual, this can be brought up again if something is worth rethinking.
from nifti-rs.
Related Issues (20)
- Documentation Examples Do Not Compile HOT 2
- Support reading and writing of complex-valued data HOT 7
- Inverse Linear Transform on writing HOT 5
- into_img_file_gz HOT 2
- Malformed header writing when `descrip` has a different size HOT 4
- Data writing is always done in native byte order regardless of header HOT 2
- Huge gz file HOT 5
- Automatic extension HOT 2
- ndarray 0.13 HOT 2
- Shortcut for the 10 AsPrimitive<T> HOT 8
- Tracker issue towards 1.0 -- API stability HOT 9
- Writing 4D images with a single volume
- Header fix HOT 7
- FSL intent HOT 2
- Unused dimension 0 or 1 HOT 2
- support nifti-2 files HOT 3
- IncompatibleLength HOT 3
- IntoNdArray for slice views could be more efficient
- Resampling of the Image Volume HOT 6
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 nifti-rs.