How to apply Poisson in matrix image

2 次查看(过去 30 天)
Dear all,
I just fount in youtube, that he apply the Poisson in image matrix. But he apply using phyton script as picture below.
The image is test_tot_w1.h00 as attached. (same as he image
The him script as below:
Note:The image is test_tot_w1.h00 as attached.
Then after he aplly the Poisson on the image, new image coming as picture below:
Anyone can help me how to write the command using matlab, for poisson application on my image
  1 个评论
Dyuman Joshi
Dyuman Joshi 2023-9-4
poissrnd (Note - part of the Stats and ML Toolbox) could work similar to torch.poisson()

请先登录,再进行评论。

采纳的回答

DGM
DGM 2023-9-4
编辑:DGM 2023-9-4
I have no familiarity with PyTorch or how torch.poisson() behaves exactly. That said, what you're looking for should be covered by imnoise().
outpict = imnoise(inpict,'poisson');
Make sure to check the documentation for a description of how the input class affects the behavior.

更多回答(0 个)

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by