Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
19270103
Commit
19270103
authored
Aug 14, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9367 from StevenPuttemans:fix_doc_9359
parents
d1e7a7e0
bdcb81e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
video_input_psnr_ssim.markdown
...eoio/video-input-psnr-ssim/video_input_psnr_ssim.markdown
+1
-1
No files found.
doc/tutorials/videoio/video-input-psnr-ssim/video_input_psnr_ssim.markdown
View file @
19270103
...
...
@@ -133,7 +133,7 @@ Then the PSNR is expressed as:
\f
[
PSNR = 10 \cdot \log_{10} \left( \frac{MAX_I^2}{MSE} \right)\f
]
Here the
\f
$MAX_I
^2
\f
$ is the maximum valid value for a pixel. In case of the simple single byte image
Here the
\f
$MAX_I
\f
$ is the maximum valid value for a pixel. In case of the simple single byte image
per pixel per channel this is 255. When two images are the same the MSE will give zero, resulting in
an invalid divide by zero operation in the PSNR formula. In this case the PSNR is undefined and as
we'll need to handle this case separately. The transition to a logarithmic scale is made because the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment