Computer Vision News - June 2020
3 Summary PyTorch and Pixel-Wise Live ... 3 Reading the image As usual, finding datasets that include images to do our experiments is quite trivial. Searching online for public domain, or free licensed images is quite easy nowadays. A suggestion is to use the DataSet Search from Google Research. The image with the name liver_slice_4x.png is padded by [32, 32] with an initial size of 192x192 (after 128x128 is padded with 32x32 on all sides). x = sio.imread('test_images/liver_slice_4x.png') # perform image normalisation x = x / 255 plt.imshow( x, cmap=’gray’ ) print (f'Image shape: {str(x.shape)} ’)
Made with FlippingBook
RkJQdWJsaXNoZXIy NTc3NzU=