An efficient process to filter noise via an optimal stack filter is proposed in this correspondence. The graphic search-based techniques are employed to speed up the finding of optimal stack filter, Experimental results and performance evaluation are demonstrated to show the efficiency of our proposed method.