Name
polar_trans_imagepolar_trans_imagePolarTransImagepolar_trans_imagePolarTransImagePolarTransImage — Transform an image to polar coordinates
Warning
polar_trans_imagepolar_trans_imagePolarTransImagepolar_trans_imagePolarTransImagePolarTransImage is obsolete and is only provided for
reasons of backward compatibility. New applications should use
the operator polar_trans_image_extpolar_trans_image_extPolarTransImageExtpolar_trans_image_extPolarTransImageExtPolarTransImageExt instead.
Herror polar_trans_image(const Hobject ImageXY, Hobject* ImagePolar, const Hlong Row, const Hlong Column, const Hlong Width, const Hlong Height)
Herror T_polar_trans_image(const Hobject ImageXY, Hobject* ImagePolar, const Htuple Row, const Htuple Column, const Htuple Width, const Htuple Height)
Herror polar_trans_image(Hobject ImageXY, Hobject* ImagePolar, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)
HImage HImage::PolarTransImage(const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height) const
HImageArray HImageArray::PolarTransImage(const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height) const
polar_trans_imagepolar_trans_imagePolarTransImagepolar_trans_imagePolarTransImagePolarTransImage transforms an image in cartesian coordinates
to an image in polar coordinates. The size of the resulting image
is selected with WidthWidthWidthWidthWidthwidth and HeightHeightHeightHeightHeightheight.
WidthWidthWidthWidthWidthwidth determines the angular resolution, while
HeightHeightHeightHeightHeightheight determines the resolution of the radius.
RowRowRowRowRowrow and ColumnColumnColumnColumnColumncolumn determine the center of the
polar coordinate system in the original image ImageXYImageXYImageXYImageXYImageXYimageXY.
This point is mapped to the upper row of ImagePolarImagePolarImagePolarImagePolarImagePolarimagePolar.
A point (x',y') in the result image corresponds to the point (x,y)
in the original image in the following manner:
polar_trans_imagepolar_trans_imagePolarTransImagepolar_trans_imagePolarTransImagePolarTransImage can be executed on an OpenCL device if the input
image does not exceed the maximum size of image objects of the selected
device. Due to numerical reasons, there can be slight differences in the
output compared to the execution on the CPU.
- Supports OpenCL compute devices.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on tuple level.
- Automatically parallelized on channel level.
Input image in cartesian coordinates.
Result image in polar coordinates.
Row coordinate of the center of the coordinate
system.
Default value: 100
Suggested values: 0, 10, 100, 200
Typical range of values: 0
≤
Row
Row
Row
Row
Row
row
≤
512
Minimum increment: 1
Recommended increment: 1
Column coordinate of the center of the
coordinate system.
Default value: 100
Suggested values: 0, 10, 100, 200
Typical range of values: 0
≤
Column
Column
Column
Column
Column
column
≤
512
Minimum increment: 1
Recommended increment: 1
Width of the result image.
Default value: 314
Suggested values: 100, 200, 157, 314, 512
Typical range of values: 2
≤
Width
Width
Width
Width
Width
width
≤
512
Minimum increment: 1
Recommended increment: 10
Height of the result image.
Default value: 200
Suggested values: 100, 128, 256, 512
Typical range of values: 2
≤
Height
Height
Height
Height
Height
height
≤
512
Minimum increment: 1
Recommended increment: 10
read_image(Image,'monkey')
dev_display (Image)
polar_trans_image(Image,PolarImage,100,100,314,200)
dev_display (PolarImage)
read_image(&Image,"monkey");
disp_image(Image,WindowHandle);
polar_trans_image(Image,&PolarImage,100,100,314,200);
disp_image(PolarImage,WindowHandle);
read_image(Image,'monkey')
dev_display (Image)
polar_trans_image(Image,PolarImage,100,100,314,200)
dev_display (PolarImage)
read_image(Image,'monkey')
dev_display (Image)
polar_trans_image(Image,PolarImage,100,100,314,200)
dev_display (PolarImage)
read_image(Image,'monkey')
dev_display (Image)
polar_trans_image(Image,PolarImage,100,100,314,200)
dev_display (PolarImage)
read_image(Image,'monkey')
dev_display (Image)
polar_trans_image(Image,PolarImage,100,100,314,200)
dev_display (PolarImage)
Foundation