Remove unnecessary from PIL import Image
This commit is contained in:
parent
0bd9e57942
commit
3e332c19d8
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from PIL import Image
|
||||
from utils import Color, mergeSingleColorChannelImagesAccordingToBayerFilter
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
@ -15,4 +14,4 @@ def getImageByColor(color):
|
||||
singleColorChannelImages = {color: getImageByColor(color) for color in Color}
|
||||
multipleColorsImage = mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages)
|
||||
|
||||
plt.imsave(PREFIX + 'multiple_colors.png', multipleColorsImage)
|
||||
plt.imsave(PREFIX + 'multiple_colors.png', multipleColorsImage)
|
||||
|
Loading…
Reference in New Issue
Block a user