Reads in the famous MNIST data in possibly binarized form. The MNIST database itself is not included in Shark, this class just helps loading it.
MNIST is a set of handwritten digits. It needs the filename of the file containing the database (can be downloaded form the web) and the threshold for binarization. The threshold (between 0 and 255) describes when a gray value will be interpreted as 1. Default is 127. If the threshold is 0, no binarization takes place.
Definition at line 47 of file MNIST.h.