Hardware-efficient low-power image processing system for wireless capsule endoscopy