Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You are trying to apply this with multiple channels which is as easy as splitting the image into the different channel until you have matrixes of the same size ( for instance in RGB, you divide in 3 channels) and then you perform the operation for each channel.