Use Highgui.imread instead of ImageIO.read to read an image