The Code analysis of the FFDNet model

1. 讀取圖像並判斷是否爲灰度圖,如爲RGB圖轉化爲灰度圖,並讀取圖像的w、h   2.數據格式轉換:將uint8表示的讀取圖像矩陣變爲double表示。 3.加入噪聲,如果噪聲水平$\sigma = 50 $則:   $noise = \sigma/255.*randn(size(label))$ 產生的和輸入圖像shape相同的additional white Gaussian noise 4
相關文章
相關標籤/搜索