image thumbnail

Adaptive Median filter using embedded MATLAB blocks

by

 

This demo shows how to implement an adaptive median filter in hardware;

get_center_data(min,med,max,center_data)
%#eml
function [new_data] = get_center_data(min,med,max,center_data)
if center_data <= min || center_data >= max
    new_data = med;
else 
    new_data = center_data;
end

Contact us