nifti-reader-js
Advanced tools
Comparing version 0.6.2 to 0.6.3
{ | ||
"name": "nifti-reader-js", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "A JavaScript NIfTI file format reader.", | ||
@@ -5,0 +5,0 @@ "main": "src/nifti.js", |
@@ -241,2 +241,8 @@ | ||
/* See: https://nifti.nimh.nih.gov/pub/dist/src/niftilib/nifti1.h */ | ||
if ((this.qform_code < 1) && (this.sform_code < 1)) { | ||
// METHOD 0 (used when both SFORM and QFORM are unknown) | ||
this.affine[0][0] = this.pixDims[1]; | ||
this.affine[1][1] = this.pixDims[2]; | ||
this.affine[2][2] = this.pixDims[3]; | ||
} | ||
if ((this.qform_code > 0) && (this.sform_code < this.qform_code)) { | ||
@@ -243,0 +249,0 @@ // METHOD 2 (used when qform_code > 0, which should be the "normal" case): |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3421559
8483