双边滤波matlab

时间:2019-02-08 04:40:57
【文件属性】:

文件名称:双边滤波matlab

文件大小:7KB

文件格式:M

更新时间:2019-02-08 04:40:57

双边滤波

function output = bilateralFilter( data, edge, edgeMin, edgeMax, sigmaSpatial, sigmaRange, ... samplingSpatial, samplingRange ) if( ~ismatrix( data ) ), error( 'data must be a greyscale image with size [ height, width ]' ); end if( ~isa( data, 'double' ) ), error( 'data must be of class "double"' ); end if ~exist( 'edge', 'var' ), edge = data; elseif isempty( edge ), edge = data; end


网友评论