@chris i just generate a new image with
diff[pos].R = Abs(currentNewEmo[pos].R - currentExiEmo[pos].R); diff[pos].G = Abs(currentNewEmo[pos].G - currentExiEmo[pos].G); diff[pos].B = Abs(currentNewEmo[pos].B - currentExiEmo[pos].B); diff[pos].A = Abs(currentNewEmo[pos].A - currentExiEmo[pos].A);