-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
psnr finish but had some issue, solution needed
problem = algorithm calculation had a wrong answer with actual calculation
- Loading branch information
1 parent
0bf36b7
commit 47640e8
Showing
2 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
class IPSNR: | ||
def count_psnr(self, filename): | ||
class IPSNR(): | ||
def count_psnr(self, original_img, stego_img): | ||
raise NotImplementedError() | ||
|
||
def count_MSE(self, original_img, stego_img): | ||
raise NotImplementedError() |
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