Opencv resize methods

asked 2016-12-10 15:48:27 -0500

Kelvin gravatar image

updated 2016-12-10 18:42:15 -0500

I need to resize some low-resolution images (e.g. 16x16, 24x24) to the default size of 100x100 pixels in Python.

I am already using the "resize" method with the interpolation parameter (INTER_AREA, INTER_CUBIC and INTER_LINEAR).

For example:

image = cv2.imread("myImage.png")
image = cv2.resize(image, (100, 100), interpolation = cv2.INTER_CUBIC)

My question is:

Is there any other method that I can get better resizing results? Maybe some method that uses neural network or machine learning. Something like these two:

Thanks in advance.

edit retag flag offensive close merge delete