Hello all,
I am trying to access color image pixels' values an somehow process them. Here is what I am trying to do:
- I have two color images I1 & I2 (same size images).
- I would like to compare all their pixels: compare I1(i,j) with I2(i,j).
- if I1(i,j) > I2(i,j) , copy I1(i,j) to a new image I3(i,j)
- else copy I2(i,j) to I3(i,j)
- at the end return the color image I3
I am using opencv3.1 and visual studio 2015.
Thanks in advance.