Can imnoise return the indices of locations where noise was added?
Ältere Kommentare anzeigen
HI everyone,
is there any method in Matlab which can provide the locations of corrupted pixels which are corrupted after manual insertion of noise using imnoise or anyother method?
Akzeptierte Antwort
Weitere Antworten (1)
Azzi Abdelmalek
am 22 Sep. 2013
Bearbeitet: Azzi Abdelmalek
am 22 Sep. 2013
If Im1 is the original image and Im2 the disturbed one, you can find the indices by
[ii,jj]=find(Im1~=Im2)
%OR
[ii,jj,kk]=find(Im1~=Im2)
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!