# Revision history [back]

### how to sum a 3 channel matrix to a one channel matrix?

Hi, i want to sum a 3 channel (lab) matrix to a one channel matrix. Is there a simple way to do this or must i split the image into 3 different CvMat-Objects?

It would to be nice, if there is a parameter for cvCvtColor that add all 3 channels with the same weight.

greetings

 2 retagged sturkmen 6772 ●3 ●48 ●79 https://github.com/stu...

### how to sum a 3 channel matrix to a one channel matrix?

Hi, i want to sum a 3 channel (lab) matrix to a one channel matrix. Is there a simple way to do this or must i split the image into 3 different CvMat-Objects?

It would to be nice, if there is a parameter for cvCvtColor that add all 3 channels with the same weight.

greetings

 3 retagged sturkmen 6772 ●3 ●48 ●79 https://github.com/stu...

### how to sum a 3 channel matrix to a one channel matrix?

Hi, i want to sum a 3 channel (lab) matrix to a one channel matrix. Is there a simple way to do this or must i split the image into 3 different CvMat-Objects?

It would to be nice, if there is a parameter for cvCvtColor that add all 3 channels with the same weight.

greetings