SMI / dicompixelanon

DICOM Pixel Anonymisation
3 stars 0 forks source link

rect - need to be able to coalesce rectangles #21

Open howff opened 1 year ago

howff commented 1 year ago

First use case is the rectangles generated by running OCR at multiple scales of the same image - you often get multiple very similar (but not exactly the same) rectangles. The coordinates will be off by 2 pixels but sometimes by 4 pixels.

These can be merged to the largest bounding box except that