Class FileInfoNRRD

    • Field Detail

      • versionNumber

        private float versionNumber
        Version of the NRRD file format being used.
      • encodingString

        private java.lang.String encodingString
        Data compression - raw, gzip
      • contentString

        private java.lang.String contentString
        Concise textual description of the information in the array
      • labelString

        private java.lang.String[] labelString
        Axis names such as X, Y, or Z
      • sliceThickness

        private float sliceThickness
      • modalityString

        private java.lang.String modalityString
        Diffusion weighted MRI is currently the only value that has been seen for modality in our samples.
      • DWMRI_B_VALUE

        private java.lang.String DWMRI_B_VALUE
        "DWMRI_b-value:=b " : This key/value pair gives the (scalar) diffusion-weighting value, in units of s/mm^2. Example: "DWMRI_b-value:=1000". The effective magnitude of diffusion-weighting for each DWI is determined with some simple calculations based on the individual per-DWI gradient directions or B-matrices.
      • dwmriGradient

        private java.lang.String[][] dwmriGradient
        For every index position NNNN along the DWI axis (whichever is the non-spatial axis identified by the "list" or "vector" kind field), either "DWMRI_gradient_NNNN:=x y z " or "DWMRI_B-matrix_NNNN:=xx xy xz yy yz zz " must be given (except if "DWMRI_NEX_NNNN:= M " is used).
      • spaceString

        private java.lang.String spaceString
        Possible values are "right-anterior-superior", "left-anterior-superior", "left-posterior-superior", "right-anterior-superior-time", "left-anterior-superior-time", "left-posterior-superior-time", "scanner-xyz", "scanner-xyz-time", "3d-right-handed", "3d-left-handed", "3d-right-handed-time", "3d-left-handed-time"
    • Constructor Detail

      • FileInfoNRRD

        public FileInfoNRRD​(java.lang.String name,
                            java.lang.String directory,
                            int format)
        file info storage constructor.
        Parameters:
        name - file name
        directory - directory
        format - file format
    • Method Detail

      • displayAboutInfo

        public void displayAboutInfo​(JDialogBase dlog,
                                     TransMatrix matrix)
        Displays the file information.
        Specified by:
        displayAboutInfo in class FileInfoBase
        Parameters:
        dlog - dialog box that is written to
        matrix - transformation matrix
      • setVersionNumber

        public void setVersionNumber​(float versionNumber)
        Accessor setting versionNumber, version of NRRD file format being used.
        Parameters:
        versionNumber -
      • setEncoding

        public void setEncoding​(java.lang.String encodingString)
        Accessor setting encoding string telling data compression method
        Parameters:
        encodingString -
      • setContent

        public void setContent​(java.lang.String contentString)
        Accessor setting contentString giving textual description of information in the array
        Parameters:
        contentString -
      • setLabels

        public void setLabels​(java.lang.String[] labelString)
        Accessor setting labelString for axis names
        Parameters:
        labelString -
      • setSliceThickness

        public void setSliceThickness​(float sliceThickness)
        Accessor setting sliceThickness
        Overrides:
        setSliceThickness in class FileInfoBase
        Parameters:
        sliceThickness -
      • setModality

        public void setModality​(java.lang.String modalityString)
        Accessor setting modalityString
        Parameters:
        modalityString -
      • setDWMRI_B_VALUE

        public void setDWMRI_B_VALUE​(java.lang.String DWMRI_B_VALUE)
        Accessor setting DWMRI_B_VALUE
        Parameters:
        DWMRI_B_VALUE -
      • setDwmriGradient

        public void setDwmriGradient​(java.lang.String[][] dwmriGradient)
        Accessor setting dwmriGradient
        Parameters:
        dwmriGradient -
      • setSpace

        public void setSpace​(java.lang.String spaceString)
        Accessor setting spaceString
        Parameters:
        spaceString -