Package: RNifti 1.9.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.9.0.tar.gz
RNifti_1.9.0.zip(r-4.7)RNifti_1.9.0.zip(r-4.6)RNifti_1.9.0.zip(r-4.5)
RNifti_1.9.0.tgz(r-4.6-x86_64)RNifti_1.9.0.tgz(r-4.6-arm64)RNifti_1.9.0.tgz(r-4.5-x86_64)RNifti_1.9.0.tgz(r-4.5-arm64)
RNifti_1.9.0.tar.gz(r-4.7-arm64)RNifti_1.9.0.tar.gz(r-4.7-x86_64)RNifti_1.9.0.tar.gz(r-4.6-arm64)RNifti_1.9.0.tar.gz(r-4.6-x86_64)
RNifti_1.9.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
RNifti/json (API)
NEWS
| # Install 'RNifti' in R: |
| install.packages('RNifti', repos = c('https://jonclayden.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jonclayden/rnifti/issues
medical-imagingnifti-formatzlibcpp
Last updated from:9cee127fe2. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 161 | ||
| linux-devel-x86_64 | OK | 112 | ||
| source / vignettes | OK | 163 | ||
| linux-release-arm64 | OK | 161 | ||
| linux-release-x86_64 | OK | 120 | ||
| macos-release-arm64 | OK | 112 | ||
| macos-release-x86_64 | OK | 270 | ||
| macos-oldrel-arm64 | OK | 89 | ||
| macos-oldrel-x86_64 | OK | 287 | ||
| windows-devel | OK | 101 | ||
| windows-release | OK | 109 | ||
| windows-oldrel | OK | 100 | ||
| wasm-release | OK | 92 |
Exports:analyzeHeaderasNiftichannelsdefaultInfoPaneldumpNiftiextensionextension<-ExtensionCodesextensionsextensions<-fromBidsJsonimageAttributesimageAttributes<-lyrndimniftiHeaderniftiVersionorientationorientation<-originpixdimpixdim<-pixunitspixunits<-qform<-readAnalyzereadNiftiretrieveNiftirgbArrayrotationsform<-timeSeriesPaneltoBidsJsonupdateNiftiviewvoxelToWorldworldToVoxelwriteAnalyzewriteNiftixform
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<- |
| Conversion to and from BIDS JSON | fromBidsJson toBidsJson |
| Extended image attributes | imageAttributes imageAttributes<- |
| 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 |
