Enabling visual analysis in wireless sensor networks