Create the sum of the channels of an image that can be used for visualization.
Imageor subclass or
(C, X, Y, ..., Z)ndarray) – Either the image object itself or an array with the pixels. The first dimension is interpreted as channels.
channels (list of int or
None) – The list of channels to be used. If
None, then all the channels are employed.