Skip to content

v0.7.0

Compare
Choose a tag to compare
@Enet4 Enet4 released this 22 Feb 19:56

Changes

  • The byteordered crate is now used for specifying the file's byte order (i.e. Endianness type is from byteordered rather than a built-in type, with a slightly different API). #37
  • NiftiHeader assumes the system's native byte order by default, regardless of whether it was built with NiftiHeader::default() or via the builder. #40
  • More error variants to NiftiError were added.

New

  • Functions for writing an ndarray to a NIfTI file are now available, supporting most simple element types as well as RGB volumes. #21
  • Public methods NiftiHeader::dimensionality() and NiftiHeader::dim(), providing a validated shape of the expected volume. #43

Other

  • Fix crash when reading a volume accompanied by an inconsistent dim header. #43
  • Other minor fixes and tweaks: #20 #30 #36
  • Multiple dependency updates.