cvbm3d.m

来自「BM3D去噪算法的实现和相关文档」· M 代码 · 共 31 行

M
31
字号
function [Xdenoised] = CVBM3D(Xnoisy, sigma, Xorig)%  CVBM3D denoising of RGB videos corrupted with AWGN.%%%  [Xdenoised] = CVBM3D(Xnoisy, sigma, Xorig)%%  INPUTS:%%   1)  Xnoisy --> Either a filename of a noisy AVI RGB uncompressed video (e.g. 'SMg20.avi') %                  or a 4-D matrix of dimensions (M x N x 3 x NumberOfFrames)%                  The intensity range is [0,255]!%   2)  Sigma -->  Noise standard deviation (assumed intensity range is [0,255])%%   3)  Xorig     (optional parameter) --> Filename of the original video%%  OUTPUT: .avi files are written to the current matlab folder%%   1) Xdenoised --> A 4-D matrix with the denoised RGB-video%%  USAGE EXAMPLES:%   1) To denoise a video:%      CVBM3D('SMg20.avi', 20)%%   2) To denoise a video and print PSNR:%      CVBM3D('SMg20.avi', 20, 'SM.avi')%%   1) To denoise a 4-D matrix representing a noisy RGB video:%      CVBM3D(X_4D_matrix, 20)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?