Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
This project is archived. Its data is
read-only
.
Changes
Page history
Updated Metadata (markdown)
authored
Mar 25, 2020
by
Anonymous
Show whitespace changes
Inline
Side-by-side
Metadata.md
View page @
e1eda13f
...
...
@@ -8,12 +8,25 @@ There are three sets of metadata necessary for the ND2reader to work correctly:
*
``experiment``
- e.g. number and type of acquisitions
*
``metadata``
- e.g. channel information including name
This data is imported into the ND2reader object when a file is opened. However, to inspect the data yourself, you can use the method
``readMetadata``
:
```
matlab
attrib
=
readMetadata
(
obj
,
'attributes'
);
%Returns metadata in a JSON string
attrib
=
jsondecode
(
attrib
);
%Convert JSON to struct
```
## File attributes
The file attributes contain information necessary to initialize pointers to the picture. The attributes contains the following fields:
*
```bitsPerComponentInMemory`` - Number of bits to hold each component (channel)
* ```
bitsPerComponentInMemory
`` - Number of bits to hold each component (channel)
* ```bitsPerComponentInMemory`` - Number of bits to hold each component (channel)
* ```bitsPerComponentInMemory``
- Number of bits to hold each component (channel)
*
```bitsPerComponentInMemory`` - Number of bits to hold each component (channel)
* ```
bitsPerComponentInMemory
`` - Number of bits to hold each component (channel)
## Translating coordinates to sequence index
Specific images in the ND2 file are referred to using their _sequence index_, which is an unsigned integer.
## Experiment metadata
...
...
...
...