Skip to content

Commit

Permalink
Merge pull request #489 from openMetadataInitiative/lzehl_ilastik-Con…
Browse files Browse the repository at this point in the history
…tentTypes

Create ilastik and webilastik specific content types
  • Loading branch information
Lyuba Zehl authored Nov 13, 2023
2 parents d8aeced + 889394f commit cd26aba
Show file tree
Hide file tree
Showing 11 changed files with 189 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/application_vnd.ilastik.object-features+csv",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik object-features CSV file is a table with a line for every detected object and a column for every feature (e.g.: size, position) measured on that object.",
"displayLabel": "ilastik object features CSV",
"fileExtension": [
".csv"
],
"name": "application/vnd.ilastik.object-features+csv",
"relatedMediaType": "https://www.iana.org/assignments/media-types/text/csv",
"synonym": [
"ilastik object features CSV"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/application_vnd.ilastik.object-features+hdf5",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik object features HDF5 file has two data entries: table and images. The images entry contains one image cutout for each object and one mask for each object, marking the pixels occupied by that object. The table entry is saved as a numpy structured array and holds the selected feature values for each object.",
"displayLabel": "ilastik object features HDF5",
"fileExtension": [
".hdf5",
".h5"
],
"name": "application/vnd.ilastik.object-features+hdf5",
"relatedMediaType": null,
"synonym": [
"ilastik object features HDF5"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/application_vnd.ilastik.project+hdf5",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik project file is an hdf5 file with an .ilp extension. It holds the current state of the ilastik application such as what workflow is being used, which images are open and what features to compute on those images.",
"displayLabel": "ilastik project file",
"fileExtension": [
".ilp"
],
"name": "application/vnd.ilastik.project+hdf5",
"relatedMediaType": null,
"synonym": [
"ilastik project",
"ilastik project file",
"ILP"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/image_vnd.ilastik.pixelclassification+hdf5",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik pixel classification HDF5 file is a multi-channel, f32 image where each channel's value is between 0.0 and 1.0 and represents the likelihood of a pixel belonging to a particular class.",
"displayLabel": "ilastik pixel classification image (HDF5)",
"fileExtension": [
".hdf5",
".h5"
],
"name": "image/vnd.ilastik.pixelclassification+hdf5",
"relatedMediaType": null,
"synonym": [
"ilastik pixel classification image (HDF5)"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/image_vnd.ilastik.pixelclassification+n5",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik pixel classification N5 file is a multi-channel, f32 image where each channel's value is between 0.0 and 1.0 and represents the likelihood of a pixel belonging to a particular class.",
"displayLabel": "ilastik pixel classification image (N5)",
"fileExtension": [
".n5"
],
"name": "image/vnd.ilastik.pixelclassification+n5",
"relatedMediaType": null,
"synonym": [
"ilastik pixel classification image (N5)"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/image_vnd.ilastik.pixelclassification+neuroglancer.precomputed",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik pixel classification neuroglancer precomputed file is a multi-channel, f32 image where each channel's value is between 0.0 and 1.0 and represents the likelihood of a pixel belonging to a particular class.",
"displayLabel": "ilastik pixel classification image (neuroglancer precomputed)",
"fileExtension": null,
"name": "image/vnd.ilastik.pixelclassification+neuroglancer.precomputed",
"relatedMediaType": null,
"synonym": [
"ilastik pixel classification image (neuroglancer precomputed)"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/image_vnd.ilastik.segmentation+dzi",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik segmentation DZI file is a uint8 RGB image where each pixel is either red (255,0,0) if that pixel belongs to an object, or black (0,0,0) if that pixel does not belong to an object.",
"displayLabel": "ilastik segmentation image (DZI)",
"fileExtension": [
".dzi",
".xml"
],
"name": "image/vnd.ilastik.segmentation+dzi",
"relatedMediaType": null,
"synonym": [
"ilastik segmentation image (DZI)"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/image_vnd.ilastik.segmentation+dzip",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik segmentation DZIP file is a uint8 RGB image where each pixel is either red (255,0,0) if that pixel belongs to an object, or black (0,0,0) if that pixel does not belong to an object.",
"displayLabel": "ilastik segmentation image (DZIP)",
"fileExtension": [
".dzip"
],
"name": "image/vnd.ilastik.segmentation+dzip",
"relatedMediaType": null,
"synonym": [
"ilastik segmentation image (DZIP)"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/image_vnd.ilastik.segmentation+n5",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik segmentation N5 file is a uint8 RGB image where each pixel is either red (255,0,0) if that pixel belongs to an object, or black (0,0,0) if that pixel does not belong to an object.",
"displayLabel": "ilastik segmentation image (N5)",
"fileExtension": [
".n5"
],
"name": "image/vnd.ilastik.segmentation+n5",
"relatedMediaType": null,
"synonym": [
"ilastik segmentation image (N5)"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/image_vnd.ilastik.segmentation+neuroglancer.precomputed",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": "The ilastik segmentation neuroglancer computed file is a uint8 RGB image where each pixel is either red (255,0,0) if that pixel belongs to an object, or black (0,0,0) if that pixel does not belong to an object.",
"displayLabel": "ilastik segmentation image (neuroglancer precomputed)",
"fileExtension": null,
"name": "image/vnd.ilastik.segmentation+neuroglancer.precomputed",
"relatedMediaType": null,
"synonym": [
"ilastik segmentation image (neuroglancer precomputed)"
]
}
18 changes: 18 additions & 0 deletions instances/data/contentTypes/image_x-hdf.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/image_x-hdf",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"description": null,
"displayLabel": "HDF5 image",
"fileExtension": [
".hdf5",
".h5"
],
"name": "image/x-hdf",
"relatedMediaType": null,
"synonym": [
"HDF5 image"
]
}

0 comments on commit cd26aba

Please sign in to comment.