Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Specifying Video Sources

To specify the video source in an IMDF file, use the Source element. A Source node can only be the child of the IMDF root element and it cannot have any child nodes of its own.

When you create a Source node, you must specify values for two attributes: name and id. In the name attribute, you specify the name of the source as it appears in the video source object's Name property. The id is typically set to some value that is recognized by the vendor's SDK. The id is only used by the adaptor and needs only to be unique between sources.

The following example outlines how to create a Source node. The words in italics represent text you define.

<ImageAcquisitionInfo>

	<Source id=ID name=sourcename>
	</Source>
	.
	.
	.
</ImageAcquisitionInfo>
Was this topic helpful?