Adaptive median filter using Embedded MATLAB

源代码在线查看: get_median_2d.m

软件大小: 83 K
上传用户: tiger452
关键词: Adaptive Embedded median filter
下载地址: 免注册下载 普通下载 VIP

相关代码

				%#eml				function [min,med,max] = get_median_2d(inbuf)								[nrows ncols] = size(inbuf);								tbuf = inbuf;								for ii=eml.unroll(1:nrows)				    tbuf(ii, :) = get_median_1d(inbuf(ii, :));				end				    				for jj=eml.unroll(1:ncols)				    tbuf(:, jj) = get_median_1d(tbuf(:, jj)')';				end								min = tbuf(1, 1);				med = tbuf(ceil(nrows/2), ceil(ncols/2));				max = tbuf(nrows, ncols);								end											

相关资源