downsize images and extract pixels
extract image features