Vector to image
Converts a one-dimensional array of numbers to a gray-level image.
- The size of the output image in pixels. A 1-by-2 matrix (width, height).
- A vector of pixel values in row-major order. A 1-by-N or N-by-1 matrix where N = width * height. The type (bit depth) of the output image is determined by the minimum and maximum values in this vector.
- The elements of pixels are multiplied by scaler before image is constructed.
- The output image.