Package: RNifti 1.7.0
RNifti: Fast R and C++ Access to NIfTI Images
Provides very fast read and write access to images stored in the NIfTI-1, NIfTI-2 and ANALYZE-7.5 formats, with seamless synchronisation of in-memory image objects between compiled C and interpreted R code. Also provides a simple image viewer, and a C/C++ API that can be used by other packages. Not to be confused with 'RNiftyReg', which performs image registration and applies spatial transformations.
Authors:
RNifti_1.7.0.tar.gz
RNifti_1.7.0.tar.gz(r-4.5-noble)RNifti_1.7.0.tar.gz(r-4.4-noble)
RNifti_1.7.0.tgz(r-4.4-emscripten)RNifti_1.7.0.tgz(r-4.3-emscripten)
RNifti.pdf |RNifti.html✨
RNifti/json (API)
NEWS
# Install 'RNifti' in R: |
install.packages('RNifti', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jonclayden/rnifti/issues
Last updated 6 months agofrom:a02ffd44d0. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 17 2024 |
R-4.5-linux-x86_64 | OK | Nov 17 2024 |
Exports:analyzeHeaderasNiftichannelsdefaultInfoPaneldumpNiftiextensionextension<-ExtensionCodesextensionsextensions<-lyrndimniftiHeaderniftiVersionorientationorientation<-originpixdimpixdim<-pixunitspixunits<-qform<-readAnalyzereadNiftiretrieveNiftirgbArrayrotationsform<-timeSeriesPanelupdateNiftiviewvoxelToWorldworldToVoxelwriteAnalyzewriteNiftixform
Dependencies:Rcpp
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Access to metadata elements | $.niftiImage $<-.niftiImage |
Create or modify an NIfTI image object | asNifti asNifti.default retrieveNifti updateNifti |
Extract channels from RGB data | channels |
Info panels for the built-in viewer | defaultInfoPanel timeSeriesPanel |
Internal images | as.array.internalImage dim.internalImage dim<-.internalImage internalImage [.internalImage [<-.internalImage |
NIfTI extension codes | ExtensionCodes |
NIfTI extensions | extension extension<- extensions extensions<- |
Number of dimensions | ndim |
Dump or construct a raw NIfTI or ANALYZE header | analyzeHeader dumpNifti niftiHeader print.analyzeHeader print.niftiHeader |
Check the format version of a file | niftiVersion |
Pixel dimensions and units | pixdim pixdim.default pixdim<- pixdim<-.default pixunits pixunits.default pixunits<- pixunits<-.default |
Read NIfTI or ANALYZE format files | readAnalyze readNifti |
RGB arrays | as.character.rgbArray as.raster.rgbArray rgbArray [.rgbArray |
A basic 3D image viewer | lyr view |
Transform points between voxel and ``world'' coordinates | origin voxelToWorld worldToVoxel |
Write a NIfTI or ANALYZE format file | writeAnalyze writeNifti |
Obtain or replace the ``xform'' transforms for an image | orientation orientation<- qform<- rotation sform<- xform |