sdv4:

mean_c1 = image[:, :, 0]
mean_c2 = image[:, :, 1]
mean_c3 = image[:, :, 2]



Thank you @sdv4 , do I apply the same approach for standard deviation.  Lastly, images is a batch. would the code snippet given above work?