I am trying to make vectorization for this formula
res[i] = 255 - ((255 - img1[i]) * (255 - img2[i])) / 255;
I have already written the vecto