line_buffer and gaussian filter and edge_dete