@@ -23,8 +23,17 @@ datasets:
23
23
VectorData column stores the start_index and count to indicate the range in time
24
24
to be selected as well as an object reference to the TimeSeries.
25
25
26
- - neurodata_type_def : Image
26
+ - neurodata_type_def : BaseImage
27
27
neurodata_type_inc : NWBData
28
+ doc : An abstract base type for image data. Parent type for Image and ExternalImage types.
29
+ attributes :
30
+ - name : description
31
+ dtype : text
32
+ doc : Description of the image.
33
+ required : false
34
+
35
+ - neurodata_type_def : Image
36
+ neurodata_type_inc : BaseImage
28
37
dtype : numeric
29
38
dims :
30
39
- - x
@@ -44,29 +53,34 @@ datasets:
44
53
- - null
45
54
- null
46
55
- 4
47
- doc : An abstract data type for an image. Shape can be 2-D (x, y), or 3-D where the
56
+ doc : A type for storing image data directly . Shape can be 2-D (x, y), or 3-D where the
48
57
third dimension can have three or four elements, e.g. (x, y, (r, g, b)) or
49
58
(x, y, (r, g, b, a)).
50
59
attributes :
51
60
- name : resolution
52
61
dtype : float32
53
62
doc : Pixel resolution of the image, in pixels per centimeter.
54
63
required : false
55
- - name : description
64
+
65
+ - neurodata_type_def : ExternalImage
66
+ neurodata_type_inc : BaseImage
67
+ doc : A type for referencing an external image file.
68
+ attributes :
69
+ - name : file_path
56
70
dtype : text
57
- doc : Description of the image.
58
- required : false
71
+ doc : Path or URL to the external image file .
72
+ required : true
59
73
60
74
- neurodata_type_def : ImageReferences
61
75
neurodata_type_inc : NWBData
62
76
dtype :
63
- target_type : Image
77
+ target_type : BaseImage
64
78
reftype : object
65
79
dims :
66
80
- num_images
67
81
shape :
68
82
- null
69
- doc : Ordered dataset of references to Image objects.
83
+ doc : Ordered dataset of references to Image or ExternalImage objects.
70
84
71
85
groups :
72
86
- neurodata_type_def : NWBContainer
@@ -253,12 +267,12 @@ groups:
253
267
dtype : text
254
268
doc : Description of this collection of images.
255
269
datasets :
256
- - neurodata_type_inc : Image
257
- doc : Images stored in this collection.
270
+ - neurodata_type_inc : BaseImage
271
+ doc : Images stored in this collection. Can be either Image or ExternalImage types.
258
272
quantity : ' +'
259
273
- name : order_of_images
260
274
neurodata_type_inc : ImageReferences
261
- doc : Ordered dataset of references to Image objects stored in the parent group.
262
- Each Image object in the Images group should be stored once and only once, so
275
+ doc : Ordered dataset of references to Image or ExternalImage objects stored in the parent group.
276
+ Each object in the Images group should be stored once and only once, so
263
277
the dataset should have the same length as the number of images.
264
278
quantity : ' ?'
0 commit comments