Last active
November 20, 2021 16:08
-
-
Save shayaf84/eae9ceb2a2c276bbbe1af9729ef3fbff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interpolatedImages = interpolation(baseline=baseline,image=image,alpha=alpha) | |
fig = plt.figure(figsize=(20, 20)) | |
i = 0 | |
for alphas, image in zip(alpha[0::10], interpolatedImages[0::10]): | |
i += 1 | |
plt.subplot(1, len(alpha[0::10]), i) | |
plt.title(f'alpha: {alphas:.1f}') | |
plt.imshow(image) | |
plt.axis('off') | |
plt.tight_layout(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment