Scaling

Computes the 4x4 scaling matrix.

Syntax

IppStatus ippmScaling_m4_32f (Ipp32f sx, Ipp32f sy, Ipp32f sz, Ipp32f* pDst);

Parameters

px, py, pz
Scale factors for the x, y, and z axes, respectively.
pDst
Pointer to the scaling matrix dst.

Description

The function ippmScaling_m4_32f is declared in the ippm.h file. This function computes the 4x4 scaling matrix for the given scale factors, as follows:

         |sx  0  0  0 |

   dst = | 0 sy  0  0 |

         | 0  0 sz  0 |

         | 0  0  0  1 |

Return Values

ippStsNoErr

Indicates no error.

See Also


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.