Can imnoise return the indices of locations where noise was added?
이전 댓글 표시
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?
채택된 답변
추가 답변 (1개)
Azzi Abdelmalek
2013년 9월 22일
편집: Azzi Abdelmalek
2013년 9월 22일
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)
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!