Effacer les filtres
Effacer les filtres

How to apply Poisson in matrix image

3 vues (au cours des 30 derniers jours)
mohd akmal masud
mohd akmal masud le 4 Sep 2023
Modifié(e) : DGM le 4 Sep 2023
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 commentaire
Dyuman Joshi
Dyuman Joshi le 4 Sep 2023
poissrnd (Note - part of the Stats and ML Toolbox) could work similar to torch.poisson()

Connectez-vous pour commenter.

Réponse acceptée

DGM
DGM le 4 Sep 2023
Modifié(e) : DGM le 4 Sep 2023
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.

Plus de réponses (0)

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by