Skip to content

Releases: dfsp-spirit/freesurferformats

v0.1.18 -- Minor updates for CRAN

03 Feb 12:13
Compare
Choose a tag to compare

v0.1.18

  • Change some minor docstring issues in internal functions (requested by CRAN team)

Mostly CRAN fixes

12 Feb 13:48
Compare
Choose a tag to compare

Version 0.1.17

  • Introduce 'default_label_name' parameter to read.fs.annot, better doc string for the same function.
  • Add function fs.surface.to.tmesh3d to transform an fs.surface mesh datastructure into an RGL tmesh datastructure. This method does not require rgl.
  • Replace all 'donttest' in examples with 'dontrun' so CRAN does not run them.

Small fixes and improvements, support Palm output files

08 Nov 08:01
Compare
Choose a tag to compare

Version 0.1.16

  • Add experimental support for reading and writing Brainvoyager SMP files in format versions 4 and 5
  • Add and export vertexdists.to.point function
  • Allow MGH reading function to work with broken MGH files that contain no valid RAS header values but still claim so by setting the ras_valid flag in the header to 1. Allows to work with files written by palm.
  • Add some new example usage scripts in the GitHub repository
  • Fix bug #25
  • Add 2 extra params to read.fs.surface.asc to make it more flexible

CRAN maintenance and some new helper functions

25 May 15:09
Compare
Choose a tag to compare

Version 0.1.15

  • disable all unit tests that require downloaded data on CRAN
  • add Euclidean distance util functions for surface vertices, like vertexdists.to.point and closest.vert.to.point
  • add doapply.transform.mtx function (it's just matrix multiplication with some input checks that are annoying to repeat)

DTI track format support: TCK and TRK

18 Jan 19:46
Compare
Choose a tag to compare

This release adds support for 2 different Diffusion Tensor Imaging file formats:

  • the MRtrix TCK format (in function read.dti.tck) and
  • the trk format used by the Diffusion Toolkit and TrackVis in (function read.dti.trk).

I would have waited longer, but a release was needed for technical reasons related to CRAN.

The Nifti Release

22 Sep 08:00
Compare
Choose a tag to compare

Version 0.1.13

  • support reading and writing Wavefront object files with non-standard vertex colors
  • support reading NIFTI v1 files with FreeSurfer hack through our own, new NIFTI v1 reader. See read.nifti1.header() and read.nifti1.data() functions.
  • support reading NIFTI v2 files through our own, new NIFTI v2 reader. See read.nifti2.header() and read.nifti2.data() functions.
  • support writing NIFTI v1 files, see write.nifti1() and ni1header.for.data() functions.
  • support writing NIFTI v2 files, see write.nifti2() and ni2header.for.data() functions.
  • add function to check whether a file is in NIFTI v1 or NIFTI v2 format, see nifti.file.version() function.
  • the read.fs.morph() function can now handle morphometry data files in NIFTI v1 format, including files with the FreeSurfer hack.
  • the read.fs.morph() function can now handle morphometry data files in NIFTI v2 format.

More mesh formats, Brainvoyager support, transforms

26 Aug 21:00
Compare
Choose a tag to compare

Version 0.1.12

  • add support for reading meshes in GEO format
  • add support for reading meshes in TRI format (also known as ICO mesh format)
  • add support for reading meshes in OFF format, the Object File Format
  • add support for reading meshes in OBJ format, the Wavefront object format
  • add support for writing FreeSurfer patch files in the ASCII format version
  • add support for reading and writing meshes in Brainvoyager SRF format
  • add support for reading and writing morphometry data maps in Brainvoyager SMP format
  • add many unit tests and test files, use covr
  • deprecate (imo) useless parameter 'empty_label_name' to read.fs.annot. using it will show a deprecation notice. (Please open issue if you feel you need it.)
  • add experimental support for CIFTI v2 morphometry data files (.dscalar.nii), based on the 'cifti' package by J. Muschelli
  • add support for reading transformation matrices from files in LTA and register.dat formats

Transforms, more mesh formats and better GIFTI support

17 Jun 13:46
Compare
Choose a tag to compare

Version 0.1.11

  • export readable.files function
  • support reading and writing meshes in mz3 format
  • support writing PLY2 ASCII mesh format
  • support reading mesh in BYU format
  • support automatic conversion of quadrangular BYU meshes to triangular upon import
  • add support for reading GIFTI format labels
  • add support for reading GIFTI format annotations
  • add support for writing GIFTI format labels
  • add support for writing GIFTI format annotations
  • export rotate2D and flip2D to namespace
  • add support for reading transformation matrices from xfm files: read.fs.transform
  • rename all optional data functions: replace optional_data with opt_data in function names to prevent clash with fsbrain names

NIFTI, GIFTI, mesh exports!

13 May 19:51
Compare
Choose a tag to compare

Version 0.1.10

  • read.fs.label improvement: do not increment indices for volume labels, better print support for them
  • support exporting surface meshes in Stanford triangle format (.ply)
  • support reading surface meshes in Stanford triangle format (.ply)
  • support exporting surface meshes in Wavefront object format (.obj)
  • support exporting surface meshes in Object File Format (.off)
  • support reading surface meshes in PLY format, including Blender exports with vertex colors and normals
  • add general GIFTI writer (requires xml2)
  • add support for writing surfaces in GIFTI format
  • add read.fs.volume() function that support MGH, MGZ and NIFTI formats
  • add experimental support for reading NIFTI volumes as fs.volume instances (via oro.nifti package), including header computation

More surface formats

15 Apr 18:28
Compare
Choose a tag to compare
  • Add support for reading and writing VTK meshes
  • support a simple txt morphometry data format

see CHANGES file for more details