Extracting the image features