I have an image of size 640*640*3 and another image of size 125*314*3 . I want to get the ratio of the size of the second image to the first image, but I cannot find a way to do this.
I tried to use the traditional separation method and also use rdivide , but both of them do not work.
If I use the traditional approach to multiply the three-dimensional values โโof the image first, and then compare, will the approach be correct?
For example, I would do something like 640*640*3 = 1,228,800 , then 125*314*3 = 117,750 and finally, take 117,750 / 1,228,800 = 0.09 . Is 0.09 correct?
source share