Skip to content

Commit 5c7f81c

Browse files
authored
Update analyze_image.py
1 parent 6c3e1b2 commit 5c7f81c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/measure/analyze_image.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,6 @@ def analyze_image(fp, gamma, width, bayer, lens, lensless, bg, rg, plot_width, s
210210
if gamma is not None:
211211
img = img / img.max()
212212
img = gamma_correction(img, gamma=gamma)
213-
# -- downsample
214-
img = resize(img, factor=1 / 4)
215-
print(img.shape)
216213
save_8bit = save.replace(".png", "_8bit.png")
217214
save_image(img, save_8bit, normalize=True)
218215
print(f"\n8bit version saved to: {save_8bit}")

0 commit comments

Comments
 (0)