Class SofnSegment

    • Field Detail

      • LOGGER

        private static final java.util.logging.Logger LOGGER
      • width

        public final int width
      • height

        public final int height
      • numberOfComponents

        public final int numberOfComponents
      • precision

        public final int precision
    • Constructor Detail

      • SofnSegment

        public SofnSegment​(int marker,
                           byte[] segmentData)
                    throws java.io.IOException,
                           ImagingException
        Throws:
        java.io.IOException
        ImagingException
      • SofnSegment

        public SofnSegment​(int marker,
                           int markerLength,
                           java.io.InputStream is)
                    throws java.io.IOException,
                           ImagingException
        Throws:
        java.io.IOException
        ImagingException
    • Method Detail

      • getComponents

        public SofnSegment.Component[] getComponents()
        Returns a copy of all the components.
        Returns:
        the components
      • getComponents

        public SofnSegment.Component getComponents​(int index)
        Returns the component at the specified index.
        Parameters:
        index - the array index
        Returns:
        the component