if I dct a gray image and then Idct, isnt it should be the original gray image?
조회 수: 1(최근 30일)
Walter Roberson 2019년 11월 23일
No, it should not be the same. You are not doing an integer transform, so you are taking in a integer image and outputing a floating point result that is in approximately the same value range but is double precision instead of integer data type. imshow() applied to a double precision matrix assumes that the data is in the range 0 to 1 and that anything outside that range should saturate to the boundary.