Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Extracts the mean and principal component analysis (PCA) basis vectors for a given cluster from a PrtCompressedBuffer object.
Definition
Visual Basic Public Sub ExtractBasis( _
ByVal cluster As Integer, _
ByVal clusterBasis() As Single _
)C# public void ExtractBasis(
int cluster,
float[] clusterBasis
);C++ public:
void ExtractBasis(
int cluster,
array<float>^ clusterBasis
);JScript public function ExtractBasis(
cluster : int,
clusterBasis : float[]
);
Parameters
cluster System.Int32
Cluster for which the basis will be extracted.clusterBasis System.Single[]
An array of basis vector data for cluster.
Remarks
The size of the clusterBasis data will be:
(1 + Number of PCA vectors per cluster) * (Number of coefficients) * (Number of color channels)
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.