org.canova.image.mnist

Class MnistImageFile

    • Method Detail

      • readImage

        public int[][] readImage()                  throws IOException
        Reads the image at the current position.
        Returns:
        matrix representing the image
        Throws:
        IOException
      • getMagicNumber

        protected int getMagicNumber()
        Description copied from class: MnistDbFile
        MNIST DB files start with unique integer number.
        Specified by:
        getMagicNumber in class MnistDbFile
        Returns:
        integer number that should be found in the beginning of the file.
      • getRows

        public int getRows()
        Number of rows per image.
        Returns:
        int
      • getCols

        public int getCols()
        Number of columns per image.
        Returns:
        int
      • getEntryLength

        public int getEntryLength()
        Description copied from class: MnistDbFile
        Number of bytes for each entry. Defaults to 1.
        Overrides:
        getEntryLength in class MnistDbFile
        Returns:
        int

Copyright © 2015. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14