ConvertPolarToCartesianImages
Converts polar coordinates (magnitude, angle) to cartesian coordinates (x, y).
Syntax
Definition:
HRESULT ConvertPolarToCartesianImages(
HRESULT hrPrev,
ITcVnImage* ipSrcImageMag,
ITcVnImage* ipSrcImageAng,
ITcVnImage*& ipDestImageX,
ITcVnImage*& ipDestImageY,
bool bAngleInDegrees = false
)Parameters
|
Name |
Type |
Default |
Description |
|---|---|---|---|
|
hrPrev |
|
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
|
ipSrcImageMag |
|
Source image containing the magnitudes (elements of type REAL or LREAL) | |
|
ipSrcImageAng |
|
Source image containing the angles (Same element type as ipSrcImageMag) | |
|
ipDestImageX |
|
Destination image containing the x values (Same element type as source images. An appropriate destination image will be created if required.) | |
|
ipDestImageY |
|
Destination image containing the y values (Same element type as source images. An appropriate destination image will be created if required.) | |
|
bAngleInDegrees |
bool |
false |
Specifys, if the angles are in degrees or radians |
Required License
TC3 Vision Base
Return value