Erotemic / ibeis

image based ecological information system
Apache License 2.0
49 stars 17 forks source link

set_roi_bboxes should modify roi_verts and visversa #13

Closed Erotemic closed 10 years ago

Erotemic commented 10 years ago

set_roi_bboxes and set_roi_verts are manipulating the same conceptual information so they should modify each others properties in the database

Ideally set_roi_bboxes would not exist, but it would be too much work to remove that right now. Or perhaps it would just modify the scale of any existing polygon (which would have the right effect on base case (rectangle) polygons)

set_roi_num_verts should be removed or flaged as a private / protected function. the user should not modify that data as it belongs conceptually to the idea of the bounding polygon.