Click or drag to resize

IMcView3DSubSampling Property

Sets/gets volume subsampling.

Namespace:  MediaCy.IQL.Display.Viewer3D
Assembly:  MediaCy.IQL.Display.Viewer3D (in MediaCy.IQL.Display.Viewer3D.dll) Version: 10.0.6912.0
Syntax
VB
Property SubSampling As Object
	Get
	Set

Property Value

Type: Object
Remarks
Default values are 1,1,1. The values can be set to higher numbers for larger images, to decrease loading time and increase performance. However, the image quality in this case will be lower. The input value can be either an array of 3 integer values or just one value. 3 array values define subsampling along X,Y and Z directions. If a positive value is passed, the same subsampling is set to all 3 directions. When positive sub-sampling is set the AutoSabsampling flag is reset. The output value is a LONGPOINT3D value with sub-sampling along all directions.
Examples
VB
'reset subsampling, set 1x1x1
McView3D1.SubSampling = 1
'load image
McView3D1.SourceImage = ActiveImage
'set 2x2x1 subsampling
McView3D1.SubSampling = Array(2,2,1)
'set auto subsampling
McView3D1.AutoSubsampling = -1
See Also