New Edge Detection Algorithm for Flame Image Processing