Built Uint8image class that has a binaryimage property to which a
threshold image can be saved. Got to the point of multilevelsubsreffing
the thresholded images into one 3d array.