The document presents a novel histogram adaptive fuzzy (HAF) filter designed for restoring corrupted images by effectively removing impulsive noise while preserving edge sharpness. Utilizing fuzzy if-then rules and input histogram statistics, the HAF filter outperforms traditional median filters (MF) and other ranked-order filters, particularly in scenarios with higher impulsive noise levels. Experimental results demonstrate the superior performance of HAF across various tests compared to existing methods, with metrics indicating significant improvements in noise suppression.