Design for Image Enhancement Algorithm