-
Notifications
You must be signed in to change notification settings - Fork 68
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
ENH: Adding python sample for ConvolveImageWithKernel #376
base: master
Are you sure you want to change the base?
ENH: Adding python sample for ConvolveImageWithKernel #376
Conversation
import matplotlib.pyplot as plt | ||
plt.imshow(filteredImage) | ||
plt.show() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per discussion, could you please add 1) output with itk.imwrite
for baseline comparison against the C++ example, and 2) perhaps a screenshot of matplotlib output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added matplotlib visualization screenshot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will build it locally to see how it renders.
a4027f2
to
9150fc9
Compare
9150fc9
to
e7bfc2b
Compare
e7bfc2b
to
96e1773
Compare
Hi @PranjalSahu , Could you please rebase on |
96e1773
to
8a39cea
Compare
It is failing due to automatically generated test for baseline comparison between C++ and Python |
Ah right, I've also run into issues with C++/Python baseline comparisons before. The ITKSphinxExamples macros were set up with the assumption that C++ and Python script output should always be the same and therefore use the same baseline image; as you've demonstrated here, there are exceptions to this rule. Some possible paths forward:
|
8a39cea
to
45adbcb
Compare
45adbcb
to
94a3211
Compare
No description provided.