Click or drag to resize

IMcViewNDSubSampling Property

Sets/gets volume subsampling.

Namespace:  MediaCy.IQL.Display.ViewerND
Assembly:  MediaCy.IQL.Display.ViewerND (in MediaCy.IQL.Display.ViewerND.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
McViewND1.SubSampling = 1
'load image
McViewND1.SourceImage = ActiveImage
'set 2x2x1 subsampling
McViewND1.SubSampling = Array(2,2,1)
'set auto subsampling
McViewND1.AutoSubsampling = -1
See Also