ricbl / eyetracking

This code was used to collect, process, and validate the REFLACX (Reports and Eye-Tracking Data for Localization of Abnormalities in Chest X-rays) dataset
MIT License
15 stars 5 forks source link

anomaly_location_ellipses.csv's bounding box min<0 #2

Open CCYChongyanChen opened 2 years ago

CCYChongyanChen commented 2 years ago

Hi there, I would like to know why sometimes the anomaly_location_ellipses.csv has some bounding box's x and y out of the image's boundary. For example, here the x min is negative image Thanks!

ricbl commented 2 years ago

This happens because the GUI allowed the radiologists to draw the bounding boxes in any place of the screen, including out of the exhibited chest x-ray. Any coordinates out of the images should be very close to one of the borders of the image and be within the margin of error of the drawing of bounding boxes. If necessary, you can trim the coordinates to [0, image size x] and [0, image size y].