fn : string
Filename to save
red_channel : array_like or tuple of image info
Array, of shape (N,N), to be written into the red channel of the output
image. If not already uint8, will be converted (and scaled) into
uint8. Optionally, you can also specify a tuple that includes scaling
information, in the form of (array_to_plot, min_value_to_scale,
max_value_to_scale).
blue_channel : array_like or tuple of image info
Array, of shape (N,N), to be written into the blue channel of the output
image. If not already uint8, will be converted (and scaled) into
uint8. Optionally, you can also specify a tuple that includes scaling
information, in the form of (array_to_plot, min_value_to_scale,
max_value_to_scale).
green_channel : array_like or tuple of image info, optional
Array, of shape (N,N), to be written into the green channel of the
output image. If not already uint8, will be converted (and scaled)
into uint8. If not supplied, will be left empty. Optionally, you can
also specify a tuple that includes scaling information, in the form of
(array_to_plot, min_value_to_scale, max_value_to_scale).
alpha_channel : array_like or tuple of image info, optional
Array, of shape (N,N), to be written into the alpha channel of the output
image. If not already uint8, will be converted (and scaled) into uint8.
If not supplied, will be made fully opaque. Optionally, you can also
specify a tuple that includes scaling information, in the form of
(array_to_plot, min_value_to_scale, max_value_to_scale).
|