ZZPot/Color-transfer

A mistake in the code?

hangong opened this issue · 2 comments

cvtColor(imgs, imgs_lab, CV_BGR2Lab);
cvtColor(imgt, imgt_lab, CV_BGR2Lab);

I don't think you should convert RGB to CIE LAB and compute the mean and std. As this is not the way it is described in the paper. I think the result will be different.

ZZPot commented

I didn't know that BGR2Lab is BGR to CIE lab. Will be fixed.

ZZPot commented

Fixed.