ImageMono.fromMatrix constructor

ImageMono.fromMatrix(
  1. StaticMatrix<bool> matrix
)

Create a mono image from a matrix

Implementation

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