Skip to content

Class: Mask

A mask as defined by a boolean image

URI: microscopemetrics_schema:Mask

classDiagram class Mask Shape <|-- Mask Mask : c Mask : fill_color Mask --|> Color : fill_color Mask : label Mask : mask Mask --|> ImageMask : mask Mask : stroke_color Mask --|> Color : stroke_color Mask : stroke_width Mask : t Mask : x Mask : y Mask : z

Inheritance

Slots

Name Cardinality and Range Description Inheritance
y 1..1
Integer
The y coordinate of the top left corner of the mask direct
x 1..1
Integer
The x coordinate of the top left corner of the mask direct
mask 0..1
ImageMask
The mask image direct
label 0..1
String
The label of the shape Shape
z 0..1
Float
The z coordinate of the shape Shape
c 0..1
Integer
The c coordinate of the shape Shape
t 0..1
Integer
The t coordinate of the shape 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

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/MontpellierRessourcesImagerie/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://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema
is_a: Shape
attributes:
  y:
    name: y
    description: The y coordinate of the top left corner of the mask
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    ifabsent: int(0)
    range: integer
    required: true
  x:
    name: x
    description: The x coordinate of the top left corner of the mask
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    ifabsent: int(0)
    range: integer
    required: true
  mask:
    name: mask
    description: The mask image
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    multivalued: false
    range: ImageMask
    inlined: true

Induced

name: Mask
description: A mask as defined by a boolean image
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema
is_a: Shape
attributes:
  y:
    name: y
    description: The y coordinate of the top left corner of the mask
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    ifabsent: int(0)
    alias: y
    owner: Mask
    domain_of:
    - ImageMask
    - Image2D
    - Image5D
    - Point
    - Rectangle
    - Ellipse
    - Vertex
    - Mask
    range: integer
    required: true
  x:
    name: x
    description: The x coordinate of the top left corner of the mask
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    ifabsent: int(0)
    alias: x
    owner: Mask
    domain_of:
    - ImageMask
    - Image2D
    - Image5D
    - Point
    - Rectangle
    - Ellipse
    - Vertex
    - Mask
    range: integer
    required: true
  mask:
    name: mask
    description: The mask image
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    multivalued: false
    alias: mask
    owner: Mask
    domain_of:
    - Mask
    range: ImageMask
    inlined: true
  label:
    name: label
    description: The label of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    alias: label
    owner: Mask
    domain_of:
    - Roi
    - Shape
    range: string
    required: false
  z:
    name: z
    description: The z coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    alias: z
    owner: Mask
    domain_of:
    - Image5D
    - Shape
    range: float
    required: false
  c:
    name: c
    description: The c coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    alias: c
    owner: Mask
    domain_of:
    - Image5D
    - Shape
    range: integer
    required: false
  t:
    name: t
    description: The t coordinate of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    alias: t
    owner: Mask
    domain_of:
    - Image5D
    - Shape
    range: integer
    required: false
  fill_color:
    name: fill_color
    description: The fill color of the shape
    from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    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://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    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://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
    rank: 1000
    ifabsent: int(1)
    alias: stroke_width
    owner: Mask
    domain_of:
    - Shape
    range: integer
    required: false