create
Creates RasterData from 2D or 3D collection.
Parameters
2D or 3D collection.
(M, N): an image with scalar data. The values are mapped to colors (greys by default) using normalization. See parameters
norm
,vmin
,vmax
.(M, N, 3): an image with RGB values (0-1 float or 0-255 int).
(M, N, 4): an image with RGBA values (0-1 float or 0-255 int).
Creates RasterData from 2D or 3D array.
Parameters
2D or 3D array.
(M, N): an image with scalar data. The values are mapped to colors (greys by default) using normalization. See parameters
norm
,vmin
,vmax
.(M, N, 3): an image with RGB values (0-1 float or 0-255 int).
(M, N, 4): an image with RGBA values (0-1 float or 0-255 int).
Creates RasterData from 1D array with pixel data.
Parameters
Array of Numbers (0-1 float or 0-255 int). Expected size width * height * nChannels.
Width of the image in pixels.
Height of the image in pixels.
Number of channels per pixel.
1: an image with scalar data. The values are mapped to colors (greys by default) using normalization. See parameters
norm
,vmin
,vmax
.3: an image with RGB values (0-1 float or 0-255 int).
4: an image with RGBA values (0-1 float or 0-255 int).
Creates RasterData from 1D array with pixel data.
Parameters
Array of numbers (0-1 float or 0-255 int). Expected size width * height * nChannels.
Width of the image in pixels.
Height of the image in pixels.
Number of channels per pixel.
1: an image with scalar data. The values are mapped to colors (greys by default) using normalization. See parameters
norm
,vmin
,vmax
.3: an image with RGB values (0-1 float or 0-255 int).
4: an image with RGBA values (0-1 float or 0-255 int).