impoisson

버전 1.0.1 (1.89 KB) 작성자: Dirk-Jan Kroon
Generates Poisson noise from (image) data. It is a raw but fast implementation based on inversion method and Gaussian approximation
다운로드 수: 5
업데이트 날짜: 2024/5/17

라이선스 보기

Function which generates Poisson noise / Poisson distribution from the data. It is a raw implementation and uses the inversion method for counts smaller than 30, and gaussian approximation for larger values. The code is vectorized and faster then default imnoise(I,'poisson') and poissrnd
J = impoisson(I)
If I is integer like uint8 the counts equal the input values
If I is single precision then the counts are assumed 1e6 x the input value
If I is double precision then the counts are assumed 1e12 x the input value
Example
X = uint16(repmat((1:1000),1000,1));
Y = impoisson(X);
figure, plot(Y(:)); hold on; plot(X(:),'r')
figure, imshow([X,Y],[])

인용 양식

Dirk-Jan Kroon (2025). impoisson (https://www.mathworks.com/matlabcentral/fileexchange/166076-impoisson), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2022b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

updated example

1.0.0