Distributed estimation, coding, and scheduling in wireless visual sensor networks