Simplify specifying colors
This commit is contained in:
parent
29f3acc479
commit
e2406071d4
@ -15,9 +15,8 @@ imagesFolderPathFileName = imagesFolderPath.replace('/', '_')
|
||||
denoiser = 'bilateral'
|
||||
|
||||
raiseNotFlatFields = False
|
||||
singleColorChannels = []
|
||||
|
||||
colors = singleColorChannels or Color
|
||||
# `[Color.RED, Color.GREEN_RIGHT, ...]` or `Color`.
|
||||
colors = Color
|
||||
|
||||
denoise = getattr(skimage.restoration, f'denoise_{denoiser}')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user