Remove no more meaningful progress
optional argument
This commit is contained in:
parent
34613e344b
commit
b5b0cc4a7c
@ -13,6 +13,6 @@ def getImageByColor(color):
|
||||
return image
|
||||
|
||||
singleColorChannelImages = {color: getImageByColor(color) for color in Color}
|
||||
multipleColorsImage = mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages, progress = True)
|
||||
multipleColorsImage = mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages)
|
||||
|
||||
plt.imsave(PREFIX + 'multiple_colors.png', multipleColorsImage)
|
@ -97,7 +97,7 @@ def getNewIndex(index, offset):
|
||||
def silentTqdm(data, desc = None):
|
||||
return data
|
||||
|
||||
def mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages, progress = False):
|
||||
def mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages):
|
||||
colorImage = singleColorChannelImages[list(Color)[0]]
|
||||
multipleColorsImage = np.empty([dimension * 2 for dimension in colorImage.shape], dtype = np.float64)
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user