Open hailihu opened 3 years ago
https://github.com/cszn/DnCNN/blob/8b61f7e23a68180f5f27002539d745256bd86df2/TrainingCodes/dncnn_keras/data_generator.py#L72
After running this code with OpenCV 4.1.2, I found wrong results due to a bug in this line. The OpenCV resize function takes the dimensions in the order of (width, height), see: https://docs.opencv.org/master/da/d6e/tutorial_py_geometric_transformations.html
https://github.com/cszn/DnCNN/blob/8b61f7e23a68180f5f27002539d745256bd86df2/TrainingCodes/dncnn_keras/data_generator.py#L72
After running this code with OpenCV 4.1.2, I found wrong results due to a bug in this line. The OpenCV resize function takes the dimensions in the order of (width, height), see: https://docs.opencv.org/master/da/d6e/tutorial_py_geometric_transformations.html