XML Schema : MLI.xsd
Target namespace: http://www.openmicroscopy.org/XMLschemas/MLI/IR2/MLI.xsd
Schema Comments:
Imports namespace:http://www.w3.org/XML/1998/namespace schemaLocation: http://www.w3.org/2001/xml.xsd
Processing Instructions
Schema has: 7element definitions,  0 global attribute definitions,  17 element attribute definitions,  0 datatype definitions.
Possible root elements: ExecutionInstructions, VectorDecoder

Element list

Element Element
 
diagram
path VectorDecoder/Element
description Maps a location on the Vector to an output data location. Can be used in conjuction with Templates.
uses attributes VectorDecoder/Element/ID, VectorDecoder/Element/Index, VectorDecoder/Element/OutputLocation, VectorDecoder/Element/UseTemplate
 
used by elementsVectorDecoder
content sequence (default)
 
Attribute Datatype Use Values Default Comments
OutputLocation string required Refers to a semantic element of a formal output. Syntax is formal output name, a period, and the semantic elment name. i.e. "Angular Second Moment.ASM"
Index string required A numeric index into the matlab vector. Numbering starts at 1 to follow matlab convention.
UseTemplate string optional (default) References a Template this value will be inserted into.
ID ID optional (default) An output ID. In the future, can be used to stitch together data from different function outputs into a single module output, or establish references.
 
source
-<element name="Element">
-<annotation>
 <documentation>Maps a location on the Vector to an output data location. Can be used in conjuction with Templates.</documentation>
 </annotation>
-<complexType>
-<attribute name="OutputLocation" use="required" type="string">
-<annotation>
 <documentation>Refers to a semantic element of a formal output. Syntax is formal output name, a period, and the semantic elment name. i.e. "Angular Second Moment.ASM"</documentation>
 </annotation>
 </attribute>
-<attribute name="Index" use="required" type="string">
-<annotation>
 <documentation>A numeric index into the matlab vector. Numbering starts at 1 to follow matlab convention.</documentation>
 </annotation>
 </attribute>
-<attribute name="UseTemplate" type="string">
-<annotation>
 <documentation>References a Template this value will be inserted into.</documentation>
 </annotation>
 </attribute>
-<attribute name="ID" type="ID">
-<annotation>
 <documentation>An output ID. In the future, can be used to stitch together data from different function outputs into a single module output, or establish references. </documentation>
 </annotation>
 </attribute>
 </complexType>
 </element>

Element ExecutionInstructions
 
diagram
description Instructions for executing a matlab function.
uses elements FunctionInputs, FunctionOutputs, Templates
uses attributes ExecutionInstructions/ExecutionGranularity
 
substitution hierarchy ExecutionInstructions
content sequence
 
Attribute Datatype Use Values Default Comments
ExecutionGranularity {} required possible values: G | D | I | F Assigns a execution point for the analysis. Refer to the Analysis Engine for more Info. Alternately, plague ome-devel with requests for more documentation.
 
source
-<element name="ExecutionInstructions">
-<annotation>
 <documentation>Instructions for executing a matlab function.</documentation>
 </annotation>
-<complexType>
-<sequence>
 <element ref="MLI:FunctionInputs" />
 <element ref="MLI:FunctionOutputs" />
 <element ref="MLI:Templates" minOccurs="0" />
 </sequence>
-<attribute name="ExecutionGranularity" use="required">
-<annotation>
 <documentation>Assigns a execution point for the analysis. Refer to the Analysis Engine for more Info. Alternately, plague ome-devel with requests for more documentation.</documentation>
 </annotation>
-<simpleType>
-<restriction base="string">
 <enumeration value="G" />
 <enumeration value="D" />
 <enumeration value="I" />
 <enumeration value="F" />
 </restriction>
 </simpleType>
 </attribute>
 </complexType>
 </element>

Element FunctionInputs
 
diagram
description An ordered list of the function's inputs
uses elements Input
 
used by elementsExecutionInstructions
content sequence
 
source
-<element name="FunctionInputs">
-<annotation>
 <documentation>An ordered list of the function's inputs</documentation>
 </annotation>
-<complexType>
-<sequence>
 <element ref="MLI:Input" maxOccurs="unbounded" />
 </sequence>
 </complexType>
 </element>

Element FunctionOutputs
 
diagram
description An ordered list of the function's outputs
uses elements Output
 
used by elementsExecutionInstructions
content sequence
 
source
-<element name="FunctionOutputs">
-<annotation>
 <documentation>An ordered list of the function's outputs</documentation>
 </annotation>
-<complexType>
-<sequence>
 <element ref="MLI:Output" maxOccurs="unbounded" />
 </sequence>
 </complexType>
 </element>

Element Input
 
diagram
description
uses elements Input/PixelsArray, Input/Scalar
 
used by elementsFunctionInputs
substitution hierarchy Input
content choice
 
Attribute Datatype Use Values Default Comments
FormalInput string required References a FormalInput by name
ID ID optional (default) An input ID. In the future, can be used to establish references.
ConvertToDatatype {} optional (default) possible values: uint8 | uint16 | uint32 | uint64 | int8 | int16 | int32 | int64 | single | double The Pixels array will be converted to the datatype specified.
InputLocation string required Refers to a semantic element of a formal input. Syntax is formal input name, a period, and the semantic elment name. i.e. "Texture Direction.Direction_Value"
 
source
-<element name="Input">
-<complexType>
-<choice>
-<element name="PixelsArray">
-<annotation>
 <documentation>Will pass a numeric matrix into the function. Translates a module input of Semantic Type Pixels (or any psuedo subclass of Pixels) to a numeric matrix. Limits specified by PixelsSlice or its subclasses will be honored. </documentation>
 </annotation>
-<complexType>
-<attribute name="FormalInput" use="required" type="string">
-<annotation>
 <documentation>References a FormalInput by name</documentation>
 </annotation>
 </attribute>
-<attribute name="ID" type="ID">
-<annotation>
 <documentation>An input ID. In the future, can be used to establish references. </documentation>
 </annotation>
 </attribute>
-<attribute name="ConvertToDatatype">
-<annotation>
 <documentation>The Pixels array will be converted to the datatype specified.</documentation>
 </annotation>
-<simpleType>
-<restriction base="string">
 <enumeration value="uint8" />
 <enumeration value="uint16" />
 <enumeration value="uint32" />
 <enumeration value="uint64" />
 <enumeration value="int8" />
 <enumeration value="int16" />
 <enumeration value="int32" />
 <enumeration value="int64" />
 <enumeration value="single" />
 <enumeration value="double" />
 </restriction>
 </simpleType>
 </attribute>
 </complexType>
 </element>
-<element name="Scalar">
-<annotation>
 <documentation>A 1x1 numeric or logical matrix -OR- a char matrix.</documentation>
 </annotation>
-<complexType>
-<attribute name="InputLocation" use="required" type="string">
-<annotation>
 <documentation>Refers to a semantic element of a formal input. Syntax is formal input name, a period, and the semantic elment name. i.e. "Texture Direction.Direction_Value"</documentation>
 </annotation>
 </attribute>
 </complexType>
 </element>
 </choice>
 </complexType>
 </element>

Element Output
 
diagram
description
uses elements Output/PixelsArray, Output/Scalar, Output/Struct, Output/Vector
 
used by elementsFunctionOutputs
substitution hierarchy Output
content choice
 
Attribute Datatype Use Values Default Comments
FormalOutput string required References a FormalOutput by name
ID ID optional (default) An output ID. In the future, can be used to stitch together data from different function outputs into a single module output, or establish references.
ConvertToDatatype {} optional (default) possible values: uint8 | uint16 | uint32 | single Useful when a function outputs a Pixels type that is unsupported by OME. The permitted list is the matlab types supported by OME. Note to perl developers: This list should stay syncronized with the Matlab Class to OME Type mapping hash $self->{ _matlab_class_to_pixel_type } that is defined in OME::Analysis::Handlers::MatlabHandler->new()
UseTemplate string optional (default) References a Template this value will be inserted into.
OutputLocation string required Refers to a semantic element of a formal output. Syntax is formal output name, a period, and the semantic elment name. i.e. "Angular Second Moment.ASM"
FormalOutput string required References a FormalOutput by name
ID ID optional (default) An output ID. In the future, can be used to stitch together data from different function outputs into a single module output, or establish references.
DecodeWith string required Specifies decoding instructions. This should match the ID of a VectorDecoder element
 
source
-<element name="Output">
-<complexType>
-<choice>
-<element name="PixelsArray">
-<annotation>
 <documentation>Will translate a numeric array to a Formal Output of Semantic Type Pixels (or any psuedo subclass of Pixels). If PixelsSlice appears in the pseudo inheritance chain, the extents will be set to the extents of the Pixels.</documentation>
 </annotation>
-<complexType>
-<attribute name="FormalOutput" use="required" type="string">
-<annotation>
 <documentation>References a FormalOutput by name</documentation>
 </annotation>
 </attribute>
-<attribute name="ID" type="ID">
-<annotation>
 <documentation>An output ID. In the future, can be used to stitch together data from different function outputs into a single module output, or establish references. </documentation>
 </annotation>
 </attribute>
-<attribute name="ConvertToDatatype">
-<annotation>
 <documentation>Useful when a function outputs a Pixels type that is unsupported by OME. The permitted list is the matlab types supported by OME. Note to perl developers: This list should stay syncronized with the Matlab Class to OME Type mapping hash $self->{ _matlab_class_to_pixel_type } that is defined in OME::Analysis::Handlers::MatlabHandler->new() </documentation>
 </annotation>
-<simpleType>
-<restriction base="string">
 <enumeration value="uint8" />
 <enumeration value="uint16" />
 <enumeration value="uint32" />
 <enumeration value="single" />
 </restriction>
 </simpleType>
 </attribute>
 </complexType>
 </element>
-<element name="Scalar">
-<annotation>
 <documentation>A 1x1 numeric or logical matrix -OR- a char matrix.</documentation>
 </annotation>
-<complexType>
-<attribute name="UseTemplate" type="string">
-<annotation>
 <documentation>References a Template this value will be inserted into.</documentation>
 </annotation>
 </attribute>
-<attribute name="OutputLocation" use="required" type="string">
-<annotation>
 <documentation>Refers to a semantic element of a formal output. Syntax is formal output name, a period, and the semantic elment name. i.e. "Angular Second Moment.ASM"</documentation>
 </annotation>
 </attribute>
 </complexType>
 </element>
-<element name="Struct">
-<annotation>
 <documentation>Struct outputs are expected to have the same structure and field names as the STs of their formal outputs. We do not anticipate this to be a widely used feature.</documentation>
 </annotation>
-<complexType>
-<attribute name="FormalOutput" use="required" type="string">
-<annotation>
 <documentation>References a FormalOutput by name</documentation>
 </annotation>
 </attribute>
-<attribute name="ID" type="ID">
-<annotation>
 <documentation>An output ID. In the future, can be used to stitch together data from different function outputs into a single module output, or establish references. </documentation>
 </annotation>
 </attribute>
 </complexType>
 </element>
-<element name="Vector">
-<annotation>
 <documentation>A one dimensional matrix output.</documentation>
 </annotation>
-<complexType>
-<attribute name="DecodeWith" use="required" type="string">
-<annotation>
 <documentation>Specifies decoding instructions. This should match the ID of a VectorDecoder element</documentation>
 </annotation>
 </attribute>
 </complexType>
 </element>
 </choice>
 </complexType>
 </element>

Element PixelsArray
 
diagram
path Input/PixelsArray
description Will pass a numeric matrix into the function. Translates a module input of Semantic Type Pixels (or any psuedo subclass of Pixels) to a numeric matrix. Limits specified by PixelsSlice or its subclasses will be honored.
uses attributes Input/PixelsArray/ConvertToDatatype, Input/PixelsArray/FormalInput, Input/PixelsArray/ID
 
used by elementsInput
substitution hierarchy PixelsArray
content sequence (default)
 
Attribute Datatype Use Values Default Comments
FormalInput string required References a FormalInput by name
ID ID optional (default) An input ID. In the future, can be used to establish references.
ConvertToDatatype {} optional (default) possible values: uint8 | uint16 | uint32 | uint64 | int8 | int16 | int32 | int64 | single | double The Pixels array will be converted to the datatype specified.
 
source
-<element name="PixelsArray">
-<annotation>
 <documentation>Will pass a numeric matrix into the function. Translates a module input of Semantic Type Pixels (or any psuedo subclass of Pixels) to a numeric matrix. Limits specified by PixelsSlice or its subclasses will be honored. </documentation>
 </annotation>
-<complexType>
-<attribute name="FormalInput" use="required" type="string">
-<annotation>
 <documentation>References a FormalInput by name</documentation>
 </annotation>
 </attribute>
-<attribute name="ID" type="ID">
-<annotation>
 <documentation>An input ID. In the future, can be used to establish references. </documentation>
 </annotation>
 </attribute>
-<attribute name="ConvertToDatatype">
-<annotation>
 <documentation>The Pixels array will be converted to the datatype specified.</documentation>
 </annotation>
-<simpleType>
-<restriction base="string">
 <enumeration value="uint8" />
 <enumeration value="uint16" />
 <enumeration value="uint32" />
 <enumeration value="uint64" />
 <enumeration value="int8" />
 <enumeration value="int16" />
 <enumeration value="int32" />
 <enumeration value="int64" />
 <enumeration value="single" />
 <enumeration value="double" />
 </restriction>
 </simpleType>
 </attribute>
 </complexType>
 </element>

Element PixelsArray
 
diagram
path Output/PixelsArray
description Will translate a numeric array to a Formal Output of Semantic Type Pixels (or any psuedo subclass of Pixels). If PixelsSlice appears in the pseudo inheritance chain, the extents will be set to the extents of the Pixels.
uses attributes Output/PixelsArray/ConvertToDatatype, Output/PixelsArray/FormalOutput, Output/PixelsArray/ID
 
used by elementsOutput
substitution hierarchy PixelsArray
content sequence (default)
 
Attribute Datatype Use Values Default Comments
FormalOutput string required References a FormalOutput by name
ID ID optional (default) An output ID. In the future, can be used to stitch together data from different function outputs into a single module output, or establish references.
ConvertToDatatype {} optional (default) possible values: uint8 | uint16 | uint32 | single Useful when a function outputs a Pixels type that is unsupported by OME. The permitted list is the matlab types supported by OME. Note to perl developers: This list should stay syncronized with the Matlab Class to OME Type mapping hash $self->{ _matlab_class_to_pixel_type } that is defined in OME::Analysis::Handlers::MatlabHandler->new()
 
source
-<element name="PixelsArray">
-<annotation>
 <documentation>Will translate a numeric array to a Formal Output of Semantic Type Pixels (or any psuedo subclass of Pixels). If PixelsSlice appears in the pseudo inheritance chain, the extents will be set to the extents of the Pixels.</documentation>
 </annotation>
-<complexType>
-<attribute name="FormalOutput" use="required" type="string">
-<annotation>
 <documentation>References a FormalOutput by name</documentation>
 </annotation>
 </attribute>
-<attribute name="ID" type="ID">
-<annotation>
 <documentation>An output ID. In the future, can be used to stitch together data from different function outputs into a single module output, or establish references. </documentation>
 </annotation>
 </attribute>
-<attribute name="ConvertToDatatype">
-<annotation>
 <documentation>Useful when a function outputs a Pixels type that is unsupported by OME. The permitted list is the matlab types supported by OME. Note to perl developers: This list should stay syncronized with the Matlab Class to OME Type mapping hash $self->{ _matlab_class_to_pixel_type } that is defined in OME::Analysis::Handlers::MatlabHandler->new() </documentation>
 </annotation>
-<simpleType>
-<restriction base="string">
 <enumeration value="uint8" />
 <enumeration value="uint16" />
 <enumeration value="uint32" />
 <enumeration value="single" />
 </restriction>
 </simpleType>
 </attribute>
 </complexType>
 </element>

Element Scalar
 
diagram
path Input/Scalar
description A 1x1 numeric or logical matrix -OR- a char matrix.
uses attributes Input/Scalar/InputLocation
 
used by elementsInput
content sequence (default)
 
Attribute Datatype Use Values Default Comments
InputLocation string required Refers to a semantic element of a formal input. Syntax is formal input name, a period, and the semantic elment name. i.e. "Texture Direction.Direction_Value"
 
source
-<element name="Scalar">
-<annotation>
 <documentation>A 1x1 numeric or logical matrix -OR- a char matrix.</documentation>
 </annotation>
-<complexType>
-<attribute name="InputLocation" use="required" type="string">
-<annotation>
 <documentation>Refers to a semantic element of a formal input. Syntax is formal input name, a period, and the semantic elment name. i.e. "Texture Direction.Direction_Value"</documentation>
 </annotation>
 </attribute>
 </complexType>
 </element>

Element Scalar
 
diagram
path Output/Scalar
description A 1x1 numeric or logical matrix -OR- a char matrix.
uses attributes Output/Scalar/OutputLocation, Output/Scalar/UseTemplate