working_with_annotations
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| working_with_annotations [2022/03/08 13:58] – [Creating and saving] antreas | working_with_annotations [2022/09/10 13:48] (current) – yves | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Working with annotations ===== | ===== Working with annotations ===== | ||
| - | ==== Annotation | + | PMA.core supports three types of annotations PMA.core annotations, |
| - | PMA.core supports two main types of annotations **PMA.core annotations** and **3rd party annotations** and also some native annotations for the //3dHistech MRXS// and //Hamamatsu NDPI// formats. | + | ^ Annotation type ^ Origin ^ Format ^ Read/Write ^ |
| + | | Pathomation | PMA.studio; SDK | [[https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry|WKT]] | Read/write | | ||
| + | | Native | Vendor-specific viewer; Pannoramic viewer; ImageScope | Embedded in the vendor file format | Read-only | | ||
| + | | Third-party | Indica Labs HALO; Definiens; Visiopharm | .Annotation XML; .XML; .MLD (binary) | Read-only | | ||
| - | PMA.core uses it' | + | ==== Internal storage ==== |
| - | * Geometry: based on WKT(Well-known text). Supports the following shapes //Polygon, Linestring, Point and Multipoint// | + | PMA.core uses its own internal format with the following structure: |
| - | * Color: the outline color in html format | + | * Geometry: based on WKT ([[https:// |
| + | * Color: the outline color in [[https:// | ||
| * Fill Color: the fill color(if any), only valid for closed shapes like polygon | * Fill Color: the fill color(if any), only valid for closed shapes like polygon | ||
| * Classification: | * Classification: | ||
| Line 16: | Line 20: | ||
| * Indica Labs // | * Indica Labs // | ||
| * Aperio //.xml// | * Aperio //.xml// | ||
| + | |||
| + | |||
| ==== Creating and saving ==== | ==== Creating and saving ==== | ||
| - | == PMA.core annotations == | + | |
| + | === PMA.core annotations | ||
| For reading the PMA.core annotations for a slide you can use the API call [[https:// | For reading the PMA.core annotations for a slide you can use the API call [[https:// | ||
| Line 23: | Line 30: | ||
| All other PMA.core annotations functionality is provided via the [[https:// | All other PMA.core annotations functionality is provided via the [[https:// | ||
| - | == 3rd Party annotations == | + | === 3rd Party annotations |
| PMA.core can leverage the use of 3rd party annotations via the External Files interface and the associated API calls. | PMA.core can leverage the use of 3rd party annotations via the External Files interface and the associated API calls. | ||
| These API associates a number of files containing any known 3rd party annotations with a slide (see previous paragraph). To associate external files with a slide you have to use the API call [[https:// | These API associates a number of files containing any known 3rd party annotations with a slide (see previous paragraph). To associate external files with a slide you have to use the API call [[https:// | ||
| - | You can get the previously set external annotations files for a slide via the [[https:// | + | You can get the previously set external annotations files for a slide via the [[https:// |
| ==== Exporting and format conversion ==== | ==== Exporting and format conversion ==== | ||
| - | PMA.core provides a very powerful API to export and convert all known annotations formats to each other, either it is a PMA.core annotations, | + | PMA.core provides a very powerful API to export and convert all known annotations formats to each other, either it is a PMA.core annotations, |
| - | //PMA.core annotations, | + | (//PMA.core annotations, |
| + | |||
| + | ==== More background ==== | ||
| + | Did you know that PMA.core is actually a great tool to integrate different annotations originating for different sources? For more background, have a look at the [[pmann|Pathomation ANNotation subset of functionality]] in the API. | ||
| + | We have [[https:// | ||
working_with_annotations.1646744333.txt.gz · Last modified: by antreas
