POI#

class medicalimageanalysis.structure.poi.Poi(image, position=None, name=None, color=None, visible=None, filepaths=None)[source]#

Bases: object

Represent a named point of interest attached to an image.

id#

Permanent POI id, written by the image’s POI registry. The same POI has the same id on every image.

Type:

int | None

group_id#

POI group the POI is in (image.poi_group), the same on every image. None = ungrouped. Set it with Data.set_group('poi', ...).

Type:

int | None

Examples

>>> import medicalimageanalysis as mia
>>> image = mia.Data.image[mia.Data.image_list()[0]]
>>> poi = image.poi['Isocenter']