n

nifiLoader

Package for loading a directory containing MRI data in NIfTI format. The directory to be loaded must contain as many subdirectories as there are classes of MRI data. Each subdirectory name will be used as the class label for the corresponding .nii files in that subdirectory. (This is the same strategy as the one used by WEKA's TextDirectoryLoader.) Currently, the package only reads volume information for the first time slot from each .nii file. The readDoubleVol(short ttt) method from the Nifti1Dataset class (http://niftilib.sourceforge.net/java_api_html/Nifti1Dataset.html) is used to read the data for each volume into a sparse WEKA instance (with ttt=0). For an LxMxN volume (the dimensions must be the same for each .nii file in the directory!), the order of values in the generated instance is [(z_1, y_1, x_1), ..., (z_1, y_1, x_L), (z_1, y_2, x_1), ..., (z_1, y_M, x_L), (z_2, y_1, x_1), ..., (z_N, y_M, x_L)]. If the volume is an image, then only x and y coordinates are used.
http://weka.sourceforge.net/doc.packages/niftiLoader
GNU General Public License 3
University of Waikato, Hamilton, NZ
Eibe Frank
Files download
File Operation
nifiLoader-1.0.1.jar download
nifiLoader-1.0.1.pom download
nifiLoader-1.0.1-sources.jar download
Apache Maven
<dependency>
  <groupId>nz.ac.waikato.cms.weka</groupId>
  <artifactId>nifiLoader</artifactId>
  <version>1.0.1</version>
</dependency>
Gradle Groovy
implementation 'nz.ac.waikato.cms.weka:nifiLoader:1.0.1'
Gradle Kotlin
implementation("nz.ac.waikato.cms.weka:nifiLoader:1.0.1")
Scala SBT
libraryDependencies += "nz.ac.waikato.cms.weka" % "nifiLoader" % "1.0.1"
Groovy Grape
@Grapes(
  @Grab(group='nz.ac.waikato.cms.weka', module='nifiLoader', version='1.0.1')
)
Apache Ivy
<dependency org="nz.ac.waikato.cms.weka" name="nifiLoader" rev="1.0.1" />
Leiningen
[nz.ac.waikato.cms.weka/nifiLoader "1.0.1"]
Apache Buildr
'nz.ac.waikato.cms.weka:nifiLoader:jar:1.0.1'