I am trying to compare images based on their Euclidean Distance. I have come across this pseudo code:
sqrt((r1-r2)^2 + (g1-g2)^2 + (b1-b2)^2)
What I am trying to figure out is- in the pseudo code above, does (r1-r2)
mean: subtract red values in image-1 from the red values in image-2?