Add Poisson Noise in an image
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have an image in JPEG format. I want to add Poisson noise in the image.
>> a=imread('pattern2.jpg');
>> J =imnoise(a,'poisson');
>> figure(4); imshow(J)
But in output there is no image. showing error
?? Error using ==> imnoise Unknown noise type.
==> J =imnoise(a,'poisson');
someone help
With Regards
-Abhijit Das
0 comentarios
Respuestas (2)
Wayne King
el 26 de Dic. de 2011
Hi Abhijit, Are you sure that you are using the MathWorks' imnoise function? Perhaps you have another imnoise.m function that precedes the MathWorks' version on your path.
Enter:
>>which imnoise
Do you get a path returned like (ending in):
matlab\toolbox\images\images\imnoise.m
If not, then either remove the path to the non-MathWorks' imnoise with rmpath, or move the non-MathWorks' imnoise out of the MATLAB search path.
2 comentarios
Wayne King
el 26 de Dic. de 2011
If you can tell us what
>>which imnoise
returns and what version of MATLAB you are using, that would be helpful.
Walter Roberson
el 26 de Dic. de 2011
if you need to.
poisson noise was new as of MATLAB R12+, Image Processing Toolbox version 3.0. That version of MATLAB appears to be a second release of MATLAB 6.0 but that predates MATLAB 6.1. If you have Image Processing Toolbox 2.2 with MATLAB 6.0, you are perhaps eligible for a free upgrade to toolbox version 3.0; see <http://www.mathworks.com/support/solutions/en/data/1-18WGT/index.html?product=IP&solution=1-18WGT>
1 comentario
Devi Anu
el 11 de Mzo. de 2020
can anyone tell me how to add mixed noise in HSI data??THANKS IN ADVANCE....
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!