Class: Mask
A mask as defined by a boolean image
URI: microscopemetrics_schema:Mask
classDiagram
class Mask
click Mask href "../Mask"
Shape <|-- Mask
click Shape href "../Shape"
Mask : c
Mask : description
Mask : fill_color
Mask --> "0..1" Color : fill_color
click Color href "../Color"
Mask : mask
Mask --> "0..1" ImageMask : mask
click ImageMask href "../ImageMask"
Mask : name
Mask : stroke_color
Mask --> "0..1" Color : stroke_color
click Color href "../Color"
Mask : stroke_width
Mask : t
Mask : x
Mask : y
Mask : z
Inheritance
- NamedObject
- Shape
- Mask
- Shape
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
x | 1 Float |
The x coordinate | direct |
y | 1 Float |
The y coordinate | direct |
mask | 0..1 ImageMask |
The mask image | direct |
z | 0..1 Float |
The z coordinate | Shape |
c | 0..1 Integer |
The c coordinate | Shape |
t | 0..1 Integer |
The t coordinate | Shape |
fill_color | 0..1 Color |
The fill color of the shape | Shape |
stroke_color | 0..1 Color |
The stroke color of the shape | Shape |
stroke_width | 0..1 Integer |
The stroke width of the shape | Shape |
name | 0..1 String |
The human readable name of an entity | NamedObject |
description | 0..1 String |
A human readable description of an entity | NamedObject |
Usages
used by | used in | type | used |
---|---|---|---|
Roi | masks | range | Mask |
Identifier and Mapping Information
Schema Source
- from schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
Mappings
Mapping Type | Mapped Value |
---|---|
self | microscopemetrics_schema:Mask |
native | microscopemetrics_schema:Mask |
LinkML Source
Direct
name: Mask
description: A mask as defined by a boolean image
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
is_a: Shape
slots:
- x
- y
attributes:
mask:
name: mask
description: The mask image
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
rank: 1000
domain_of:
- Mask
range: ImageMask
multivalued: false
Induced
name: Mask
description: A mask as defined by a boolean image
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
is_a: Shape
attributes:
mask:
name: mask
description: The mask image
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
rank: 1000
alias: mask
owner: Mask
domain_of:
- Mask
range: ImageMask
multivalued: false
x:
name: x
description: The x coordinate
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
rank: 1000
alias: x
owner: Mask
domain_of:
- Point
- Rectangle
- Ellipse
- Vertex
- Mask
range: float
required: true
y:
name: y
description: The y coordinate
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
rank: 1000
alias: y
owner: Mask
domain_of:
- Point
- Rectangle
- Ellipse
- Vertex
- Mask
range: float
required: true
z:
name: z
description: The z coordinate
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
rank: 1000
alias: z
owner: Mask
domain_of:
- Shape
range: float
required: false
c:
name: c
description: The c coordinate
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
rank: 1000
alias: c
owner: Mask
domain_of:
- Shape
range: integer
required: false
t:
name: t
description: The t coordinate
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
rank: 1000
alias: t
owner: Mask
domain_of:
- Shape
range: integer
required: false
fill_color:
name: fill_color
description: The fill color of the shape
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
rank: 1000
alias: fill_color
owner: Mask
domain_of:
- Shape
range: Color
required: false
stroke_color:
name: stroke_color
description: The stroke color of the shape
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
rank: 1000
alias: stroke_color
owner: Mask
domain_of:
- Shape
range: Color
required: false
stroke_width:
name: stroke_width
description: The stroke width of the shape
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
rank: 1000
ifabsent: int(1)
alias: stroke_width
owner: Mask
domain_of:
- Shape
range: integer
required: false
name:
name: name
description: The human readable name of an entity
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
rank: 1000
alias: name
owner: Mask
domain_of:
- NamedObject
range: string
required: false
multivalued: false
description:
name: description
description: A human readable description of an entity
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
rank: 1000
alias: description
owner: Mask
domain_of:
- NamedObject
range: string
required: false
multivalued: false