Skip to content

Conversation

jonpsy
Copy link
Contributor

@jonpsy jonpsy commented Dec 3, 2021

Continuation of #720 @lu-wang-g

@google-cla google-cla bot added the cla: yes label Dec 3, 2021
Comment on lines +136 to +137
SUPPORT_ASSERT_OK(result_or);
EXPECT_DOUBLE_EQ(PSNR(result_or.value(), *husky_original_buffer), 25.073790631326489);
Copy link
Contributor Author

@jonpsy jonpsy Dec 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Building on your idea of storing the "husky_test.png" (the output I got from dumping pipeline out into file => reading in ipynb => saving as png). I thought of using that as "golden image" to compare with result_or.value(). The problem is LoadImage due to which the pixels are a bit off. So I think PSNR solution is the best stand-in solution atm.

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

Successfully merging this pull request may close these issues.

1 participant