Click or drag to resize

IMcTransformSubSample Method

Subsamples input sequence using subsampling factor in Z direction.

Namespace:  MediaCy.IQL.Operations
Assembly:  MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
VB
Function SubSample ( 
	Optional SubSampleZ As Double = 1,
	<OptionalAttribute> vSourceImg As Object,
	Optional Flags As mcImageCreateFlags = mcImageCreateFlags.mcicfDefault
) As McImage

Parameters

SubSampleZ (Optional)
Type: SystemDouble
defines subsampling factor in Z direction. The can be more than 0 and fractional. The number of frames in the output image is calculated as Floor(NInputFrames/SubSampleZ). Note that if the value is more than 1 the number of output frames in the output sequence will be reduced, if the value is less than 1 - the number of output frames will be increased. Intermediate frames are created by duplicated inpit frames.
vSourceImg (Optional)
Type: SystemObject
Optional source image, operator applies to parent image when parameter is omitted. vSourceImg can be an array of McImage or other container supported by CMcSequenceAccess.
Flags (Optional)
Type: MediaCy.IQL.EnginemcImageCreateFlags
Optional image creation flags for the new image. By default the value is zero, which creates a visible image that is part of the Images collection. See mcImageCreateFlags for the list of supported flags.

Return Value

Type: McImage
A new McImage
Remarks
Active range of the input sequence is sub-sampled.
See Also