1 | initial version |
Well if you are using python, you can use "cv2.resize()"
subA = cv2.resize(A, (128,128), interpolation = cv2.INTER_AREA)
subA' = cv2.resize(A', (128,128), interpolation = cv2.INTER_AREA)
if both A,A' are same in dimension then both sub-sampled image will have same pixel operation on it