Dataset Resizing
import cv2 from PIL import Image import numpy as np import h5py #threshold function is disabled when resizing input images