Documentation of 'edu.rit.mri.PixelChunk' Java class
PixelChunk
edu.rit.mri

Class PixelChunk

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable


    public class PixelChunk
    extends java.lang.Object
    implements java.io.Externalizable
    Class PixelChunk encapsulates a chunk of pixels on which to perform a spin relaxometry analysis.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      PixelChunk()
      Construct a new, uninitialized pixel chunk object.
      PixelChunk(int fileIndex, int pixelIndex, int pixelCount)
      Construct a new pixel chunk object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int fileIndex()
      Get the file index.
      int pixelCount()
      Get the number of pixels to analyze.
      int pixelIndex()
      Get the pixel index of the first pixel to analyze.
      void readExternal(java.io.ObjectInput in)
      Read this pixel chunk object from the given object input stream.
      void writeExternal(java.io.ObjectOutput out)
      Write this pixel chunk object to the given object output stream.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PixelChunk

        public PixelChunk()
        Construct a new, uninitialized pixel chunk object. This constructor is for use only by object deserialization.
      • PixelChunk

        public PixelChunk(int fileIndex,
                          int pixelIndex,
                          int pixelCount)
        Construct a new pixel chunk object.
        Parameters:
        fileIndex - File index.
        pixelIndex - Pixel index of first pixel to analyze.
        pixelCount - Number of pixels to analyze.
    • Method Detail

      • fileIndex

        public int fileIndex()
        Get the file index.
        Returns:
        File index.
      • pixelIndex

        public int pixelIndex()
        Get the pixel index of the first pixel to analyze.
        Returns:
        Pixel index.
      • pixelCount

        public int pixelCount()
        Get the number of pixels to analyze.
        Returns:
        Pixel count.
      • writeExternal

        public void writeExternal(java.io.ObjectOutput out)
                           throws java.io.IOException
        Write this pixel chunk object to the given object output stream.
        Specified by:
        writeExternal in interface java.io.Externalizable
        Parameters:
        out - Object output stream.
        Throws:
        java.io.IOException - Thrown if an I/O error occurred.
      • readExternal

        public void readExternal(java.io.ObjectInput in)
                          throws java.io.IOException
        Read this pixel chunk object from the given object input stream.
        Specified by:
        readExternal in interface java.io.Externalizable
        Parameters:
        in - Object input stream.
        Throws:
        java.io.IOException - Thrown if an I/O error occurred.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.