SBU-BMI / wsinfer

🔥 🚀 Blazingly fast pipeline for patch-based classification in whole slide images
https://wsinfer.readthedocs.io
Apache License 2.0
57 stars 10 forks source link

geojson features from qupath have different schema than our own #178

Closed kaczmarj closed 1 year ago

kaczmarj commented 1 year ago

there is a difference in the 'measurements' value between wsinfer geojson and qupath's exported geojson. we should update our geojson to match qupath's.

qupath

{"geometry": {"coordinates": [[[0, 23904], [350, 23904], [350, 24254], [0, 24254], [0, 23904]]], "type": "Polygon"}, "id": "49069bbb-a0ac-4343-96fe-15af45c30634", "properties": {"isLocked": true, "measurements": {"prob_notumor": 0.9998319149017334, "prob_tumor": 0.00016804548795334995}, "objectType": "tile"}, "type": "Feature"}

wsinfer

{"geometry": {"coordinates": [[[350, 23904], [350, 24254], [0, 24254], [0, 23904], [350, 23904]]], "type": "Polygon"}, "id": "PathTileObject", "properties": {"isLocked": true, "measurements": [{"name": "prob_notumor", "value": 0.9998319149017334}, {"name": "prob_tumor", "value": 0.0001680454879533}]}, "type": "Feature"}