Image transmission scheme with joint routing and HWT-based compression in wireless sensor networks