Converts a single-channel image to a matrix.
def ImageToMatrix( inMonoImage: Image, outMatrix: Matrix, / ) -> None