Open wuusn opened 1 year ago
Hi,
When I do cut_tumor_regions.py, I noticed the some bboxes gotten from get_annotation_points_and_bboxes(json_path) are not valid. The coords in the bboxes can have values smaller than 0, or larger than the max shape of the wsi_img.
cut_tumor_regions.py
bboxes
get_annotation_points_and_bboxes(json_path)
wsi_img
for example,: wsi id 732
Hi,
When I do
cut_tumor_regions.py
, I noticed the somebboxes
gotten fromget_annotation_points_and_bboxes(json_path)
are not valid. The coords in thebboxes
can have values smaller than 0, or larger than the max shape of thewsi_img
.for example,: wsi id 732