mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 19:00:47 +08:00
Remove obsolete comment
This commit is contained in:
@@ -167,8 +167,6 @@ def random_noise(image, mode='gaussian', seed=None, clip=True, **kwargs):
|
||||
|
||||
elif mode == 's&p':
|
||||
out = image.copy()
|
||||
|
||||
# Salt mode
|
||||
p = kwargs['amount']
|
||||
q = kwargs['salt_vs_pepper']
|
||||
flipped = np.random.choice([True, False], size=image.shape,
|
||||
|
||||
Reference in New Issue
Block a user