add algorithm and change pixel_data