ImageGrayscale.fromMatrix constructor

ImageGrayscale.fromMatrix(
  1. StaticMatrix<int> matrix
)

Create a mono image from a matrix

Implementation

ImageGrayscale.fromMatrix(StaticMatrix<int> matrix)
    : super.allParameters(maxValue: 1, pixels: matrix);