zhouhang95 opened a new issue #14993: The discription of function mxnet.image.imresize is wrong. URL: https://github.com/apache/incubator-mxnet/issues/14993 I find it wrong when I also write my psnr code. ''' 2: Area-based (resampling using pixel area relation). It may be a preferred method for image decimation, as it gives moire-free results. But when the image is zoomed, it is similar to the Nearest Neighbors method. (used by default). 3: Bicubic interpolation over 4x4 pixel neighborhood. ''' should be ''' 2: Bicubic interpolation over 4x4 pixel neighborhood. 3: Area-based (resampling using pixel area relation). It may be a preferred method for image decimation, as it gives moire-free results. But when the image is zoomed, it is similar to the Nearest Neighbors method. (used by default). ''' you can see this page https://docs.opencv.org/master/da/d54/group__imgproc__transform.html ''' import cv2 print(cv2.INTER_CUBIC) ''' you will see 2
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
