Balancing computational and transmission power consumption in wireless image sensor networks