Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skimage #6

Open
michaelscheinfeild opened this issue Apr 9, 2019 · 0 comments
Open

skimage #6

michaelscheinfeild opened this issue Apr 9, 2019 · 0 comments

Comments

@michaelscheinfeild
Copy link

since sometimes it is deprecated we can change the main file

import numpy as np
from scipy import ndimage
import matplotlib.pyplot as plt
from imresize import *


img_uint8 = ndimage.imread("test\\lena_512x512.png")
plt.figure()
plt.imshow(img_uint8)
new_size = (123, 234)
new_img_uint8 = imresize(img_uint8, output_shape=new_size)

plt.figure()
plt.imshow(new_img_uint8)

plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant