


#importing some useful packages
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
from scipy import stats



#reading in an image
image = mpimg.imread('test_images/solidWhiteRight.jpg')

#printing out some stats and plotting
print('This image is:', type(image), 'with dimensions:', image.shape)
plt.imshow(image)  # if you wanted to show a single color channel image called 'gray', for example, call as plt.imshow(gray, cmap='gray')


plt.imsave("test-after.png", image)
#plt.savefig('test-after.png')
#mpimg.imsave('test_images/lines-', line_image)


43892bf0bf3759ed3cedcc5283678efe76d6612a
<mask token>

<mask token>
print('This image is:', type(image), 'with dimensions:', image.shape)
plt.imshow(image)
plt.imsave('test-after.png', image)

<mask token>
image = mpimg.imread('test_images/solidWhiteRight.jpg')
print('This image is:', type(image), 'with dimensions:', image.shape)
plt.imshow(image)
plt.imsave('test-after.png', image)

import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
from scipy import stats
image = mpimg.imread('test_images/solidWhiteRight.jpg')
print('This image is:', type(image), 'with dimensions:', image.shape)
plt.imshow(image)
plt.imsave('test-after.png', image)




#importing some useful packages
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
from scipy import stats



#reading in an image
image = mpimg.imread('test_images/solidWhiteRight.jpg')

#printing out some stats and plotting
print('This image is:', type(image), 'with dimensions:', image.shape)
plt.imshow(image)  # if you wanted to show a single color channel image called 'gray', for example, call as plt.imshow(gray, cmap='gray')


plt.imsave("test-after.png", image)
#plt.savefig('test-after.png')
#mpimg.imsave('test_images/lines-', line_image)

