Can any one mail me the code for plotting psnr versus bpp?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
how to plot psnr (peal signal to noise ratio ) versus bpp(bits per pixels)
0 comentarios
Respuestas (2)
Image Analyst
el 4 de Mayo de 2014
Assuming you've varied by bpp and gotten different psnr's for the different bpp
plot(bpp, thePsnr, 'bo-');
bpp and thePsnr are arrays that you've built up by trying different bpp.
Don't use psnr as a variable name because it's the name of a built in function in the Image Processing Toolbox.
10 comentarios
Walter Roberson
el 30 de En. de 2021
A pixel is a unit with however much memory is required to store all of the color information. In cases of compression or mosaicing then bits per pixel may be non-integer, the mean (average) number required as it is not required that exactly the same amount of memory is used for each pixel.
Mohana Singh
el 30 de En. de 2021
Thank you! I somehow got majorly confused, thanks a lot for clearing it up.
Spandan Tiwari
el 24 de Jun. de 2016
There's also a function called psnr() in Image Processing Toolbox, that you can use.
0 comentarios
Ver también
Categorías
Más información sobre Computer Vision with Simulink en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!