You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
input image "im_gray" of uint8 and size of [256,256], then i made following operations with opencv and torch-dct, respectively: a = cv2.dct(im_gray.astype("float")) b = torch_dct.dct_2d(torch.from_numpy(im_gray.astype("float"))).
But a and b are greatly different.
The text was updated successfully, but these errors were encountered:
lilu1996
changed the title
This result is different from those with cv2.dft
These results are different from those with cv2.dft
Dec 4, 2019
input image "im_gray" of uint8 and size of [256,256], then i made following operations with opencv and torch-dct, respectively:
a = cv2.dct(im_gray.astype("float"))
b = torch_dct.dct_2d(torch.from_numpy(im_gray.astype("float"))).
But a and b are greatly different.
The text was updated successfully, but these errors were encountered: