Minimum value of each channels

Minimum value of each channels

Hi

I have a 3-channelsimage. I want to convert it to a 1 channel image where each pixel is the minimum valueof the corresponding position in the 3-channel image.

So if my 2x2 3 channel image is

(10,5,23) (34,67,1)
(3,55,67) (1,111,9)

I wanna havethis 2x2 1 channel image :
5 1
3 1

Regards

Eric

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.