Hardware-oriented region based algorithmfor low-power motion estimation