black and white image denosing based on graph cuts