- Implemented the method for detecting regions in images based on a
rectangular representation