G M N P R S W

G

getCols() - Method in class mnist.tools.MnistImageFile
Number of columns per image.
getCount() - Method in class mnist.tools.MnistDbFile
 
getCurrentIndex() - Method in class mnist.tools.MnistDbFile
The current entry index.
getEntryLength() - Method in class mnist.tools.MnistDbFile
Number of bytes for each entry.
getEntryLength() - Method in class mnist.tools.MnistImageFile
 
getHeaderSize() - Method in class mnist.tools.MnistDbFile
 
getHeaderSize() - Method in class mnist.tools.MnistImageFile
 
getImages() - Method in class mnist.tools.MnistManager
Get the underlying images file as MnistImageFile.
getLabels() - Method in class mnist.tools.MnistManager
Get the underlying labels file as MnistLabelFile.
getRows() - Method in class mnist.tools.MnistImageFile
Number of rows per image.

M

mnist.tools - package mnist.tools
 
MnistDbFile - Class in mnist.tools
MNIST database file containing entries that can represent image or label data.
MnistDbFile(String, String) - Constructor for class mnist.tools.MnistDbFile
Creates new instance and reads the header information.
MnistImageFile - Class in mnist.tools
MNIST database image file.
MnistImageFile(String, String) - Constructor for class mnist.tools.MnistImageFile
Creates new MNIST database image file ready for reading.
MnistLabelFile - Class in mnist.tools
MNIST database label file.
MnistLabelFile(String, String) - Constructor for class mnist.tools.MnistLabelFile
Creates new MNIST database label file ready for reading.
MnistManager - Class in mnist.tools
Utility class for working with the MNIST database.
MnistManager(String, String) - Constructor for class mnist.tools.MnistManager
Constructs an instance managing the two given data files.

N

next() - Method in class mnist.tools.MnistDbFile
Move to the next entry.
nextImage() - Method in class mnist.tools.MnistImageFile
Move the cursor to the next image.

P

prev() - Method in class mnist.tools.MnistDbFile
Move to the previous entry.
prevImage() - Method in class mnist.tools.MnistImageFile
Move the cursor to the previous image.

R

readImage() - Method in class mnist.tools.MnistImageFile
Reads the image at the current position.
readImage() - Method in class mnist.tools.MnistManager
Reads the current image.
readLabel() - Method in class mnist.tools.MnistLabelFile
Reads the integer at the current position.
readLabel() - Method in class mnist.tools.MnistManager
Reads the current label.

S

setCurrent(int) - Method in class mnist.tools.MnistManager
Set the position to be read.
setCurrentIndex(long) - Method in class mnist.tools.MnistDbFile
Set the required current entry index.

W

writeImageToPpm(int[][], String) - Static method in class mnist.tools.MnistManager
Writes the given image in the given file using the PPM data format.

G M N P R S W