Skip to content

Commit 801d00c

Browse files
committed
Pushing the docs for revision for branch: master, commit 682fd8e3293161dfbba05d3441da5530d1e70549
1 parent bca3ae3 commit 801d00c

File tree

805 files changed

+2730
-2738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

805 files changed

+2730
-2738
lines changed

dev/_downloads/plot_image_denoising.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ def show_with_diff(image, reference, title):
144144
code = dico.transform(data)
145145
patches = np.dot(code, V)
146146

147-
if transform_algorithm == 'threshold':
148-
patches -= patches.min()
149-
patches /= patches.max()
150-
151147
patches += intercept
152148
patches = patches.reshape(len(data), *patch_size)
153149
if transform_algorithm == 'threshold':
270 Bytes
270 Bytes
878 Bytes
878 Bytes
494 Bytes
494 Bytes
139 Bytes
139 Bytes
92 Bytes

0 commit comments

Comments
 (0)