Hi,
Thank you for making this excellent software and sharing with us.
I believe QuPath is ideal software to analyze virtual slide images.
I would like to export the items in “measurement annotation” of multiple images in the same project to one csv or excel file, automatically with script. If it is possible to conduct this, could you possibly tell me the script?
For example, I would like to get the table as shown below,
Image File Name |
Name |
Class |
ROI |
Centroid X µm |
Centroid Y µm |
Num Tumor: 1+ |
Num Tumor: 2+ |
Num Tumor: 3+ |
Num Tumor: Negative |
Num Stroma |
Num Tumor |
Tumor: Positive % |
Tumor: H-score |
Tumor: Allred proportion |
Tumor: Allred intensity |
Tumor: Allred score |
Area µm^2 |
Perimeter µm |
Max length µm |
Image A |
Vehicle |
Polygon |
4667.9 |
2363.6 |
3098 |
845 |
10824 |
29105 |
13445 |
43872 |
33.66 |
84.93 |
4 |
3 |
7 |
8887229.6 |
11123.2 |
4131.8 |
|
Image A |
Treat |
Polygon |
2367.3 |
4954.3 |
2275 |
415 |
6265 |
15607 |
4048 |
24562 |
36.46 |
89.16 |
4 |
3 |
7 |
4408620.2 |
8109.1 |
3109.7 |
|
Image B |
Vehicle |
Polygon |
3894.5 |
4438.9 |
4549 |
2580 |
11827 |
16686 |
2236 |
35642 |
53.18 |
126.79 |
4 |
3 |
7 |
4588113.6 |
7945.9 |
2772.5 |
|
Image B |
Treat |
Polygon |
4364.1 |
2141.8 |
1984 |
1320 |
5462 |
7487 |
1069 |
16253 |
53.93 |
129.27 |
4 |
3 |
7 |
2057527 |
5718.7 |
2199.1 |
Unfortunately, I am unfamiliar to write programs.
It is quite helpful if you could give me your kind support.
Best,
Tadahiro Nambu
Thank you for your suggestion.
I will use saveAnnotationMeasurements() script.