Class RawImageInfo


  • public class RawImageInfo
    extends java.lang.Object
    Class designed to hold pre-loaded information for opening RAW images. This is used when running scripts (either through GUI or command line)... two specific constructors meant for commandline/gui scripts
    Author:
    linkb
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean bigEndian
      DOCUMENT ME!
      private int[] dims
      DOCUMENT ME!
      private int offset
      DOCUMENT ME!
      private float[] res
      DOCUMENT ME!
      private int type
      DOCUMENT ME!
      private int[] units
      DOCUMENT ME!
    • Constructor Summary

      Constructors 
      Constructor Description
      RawImageInfo​(int type, int[] dims, float[] res, int[] units, int offset, boolean bigEndian)
      Constructor used when running scripts from the GUI
      RawImageInfo​(java.lang.String consoleString)
      Constructor used when running from command line.
    • Field Detail

      • bigEndian

        private boolean bigEndian
        DOCUMENT ME!
      • dims

        private int[] dims
        DOCUMENT ME!
      • offset

        private int offset
        DOCUMENT ME!
      • res

        private float[] res
        DOCUMENT ME!
      • type

        private int type
        DOCUMENT ME!
      • units

        private int[] units
        DOCUMENT ME!
    • Constructor Detail

      • RawImageInfo

        public RawImageInfo​(java.lang.String consoleString)
        Constructor used when running from command line. Parses the command line's string into the correct variables
      • RawImageInfo

        public RawImageInfo​(int type,
                            int[] dims,
                            float[] res,
                            int[] units,
                            int offset,
                            boolean bigEndian)
        Constructor used when running scripts from the GUI
        Parameters:
        type - image type
        dims - image extents
        res - image resolutions
        units - image units
        offset - image offset
        bigEndian - image's big endian order
    • Method Detail

      • getDataType

        public int getDataType()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getEndianess

        public boolean getEndianess()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getExtents

        public int[] getExtents()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getOffset

        public int getOffset()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getResolutions

        public float[] getResolutions()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getUnitsOfMeasure

        public int[] getUnitsOfMeasure()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!