- 'gaussian'、'localvar'、'speckle' のノイズ タイプに対する平均と分散パラメーターは、常に、イメージが [0, 1] の範囲の double クラスであるかのように指定されます。入力イメージが異なるクラスの場合に、関数 imnoise は、イメージを double になるよう変換し、指定されたタイプとパラメーターによってノイズを追加します。さらに、ピクセル値を [0, 1] の範囲にクリッピングし、ノイズを付加されたイメージを入力と同じクラスに再変換します。
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/703557/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/703562/image.png)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!