IMcImage2SetSource Method
|
|
Assign the source from which this image was created
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxSub SetSource (
SourceObject As Object,
<OptionalAttribute> RectInSource As Object,
<OptionalAttribute> SizeRatioFromSource As Object,
Optional RotationFromSource As Double = 0,
<OptionalAttribute> OtherSourceInfo As Object
)
Parameters
- SourceObject
- Type: SystemObject
The source that created this image. The SourceObject will typically be
a McImage, but under some circumstances may be some other operator such as a
McImageSet. No reference is held on the source, but rather its Name is kept for
lookup by GetSourceInfo. - RectInSource (Optional)
- Type: SystemObject
If given, the rectangle in the source from which the image was taken. - SizeRatioFromSource (Optional)
- Type: SystemObject
If given, can be either a scalar integral value or length-2 integral
array giving the decimation (tiled sub-sampling) of the image from the RectInSource. - RotationFromSource (Optional)
- Type: SystemDouble
If given, a double value giving the angle by which the image
was rotated from the source in degrees CCW. - OtherSourceInfo (Optional)
- Type: SystemObject
If given, other information about the source, as appropriate for
its type.
RemarksThis method is typically only called internally to assign the information
needed to support the GetSource method (which is typically called externally).
See Also