Skip to content

Commit e337a41

Browse files
committed
2 parents c250ad9 + 66a02c5 commit e337a41

File tree

5 files changed

+41
-0
lines changed

5 files changed

+41
-0
lines changed
52.5 KB
Loading
210 KB
Loading
30.6 KB
Loading

docs/source/consensus_scatter.png

61.1 KB
Loading

docs/source/tutorial.sdk.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,3 +498,44 @@ Grassroots DICOM library <http://gdcm.sourceforge.net/wiki/index.php/Main_Page>`
498498
499499
# or on Ubuntu with versions above 19.04
500500
sudo apt install python3-gdcm
501+
502+
----------
503+
504+
505+
Computing consensus scores for instancec between several projects
506+
_______________________________________________________
507+
508+
509+
Consensus is a tool to compare the quallity of the annotations of the same image that is present in several projects.
510+
To compute the consensus scores:
511+
512+
.. code-block:: python
513+
514+
res_df = sa.consensus([project_names], "<path_to_export_folder>", [image_list], "<annotation_type>")
515+
516+
Here pandas DataFrame with following columns is returned: creatorEmail, imageName, instanceId, className, area, attribute, projectName, score
517+
518+
.. image:: consensus_dataframe.png
519+
520+
Besides the pandas DataFrame there is an option to get the following plots by setting the show_plots flag to True:
521+
522+
* Box plot of consensus scores for each annotators
523+
* Box plot of consensus scores for each project
524+
* Scatter plots of consensus score vs instance area for each project
525+
526+
.. code-block:: python
527+
528+
sa.consensus([project_names], "<path_to_export_folder>", [image_list], "<annotation_type>", show_plots=True)
529+
530+
To the left of each box plot the original score points of that annotator is depicted, the box plots are colored by annotator.
531+
532+
.. image:: consensus_annotators_box.png
533+
534+
Analogically the box plots of consensus scores for each project are colored according to project name.
535+
536+
.. image:: consensus_projects_box.png
537+
538+
Scatter plot of consensus score vs instance area is separated by projects. Hovering on a point reveals its annotator and image name.
539+
The points are colored according to class name. Each annotator is represented with separate symbol.
540+
541+
.. image:: consensus_scatter.png

0 commit comments

Comments
 (0)