Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image » Image Spatial Transforms » ImagePolarTransform

ImagePolarTransform


Module: FoundationBasic

Transforms an image to polar or log-polar space.

Name Type Description
inImage Image Input image
inCenter Point2D Center of the coordinate system in input image
inOutputSpaceType PolarSpaceType Method of transformation
inInterpolation PolarInterpolationMethod Method of underlying interpolation
outImage Image Output image

Description

It uses the following transformation:

\[ dst(\rho, \phi) = src(x,y), \]

where

\[ \rho = m \sqrt{x^2 + y^2} , \phi = \arctan(\frac{y}{x}), \]

for linear-polar space, and

\[ \rho = k \log{\sqrt{x^2+y^2} }, \phi = \arctan(\frac{y}{x}), \]

for log-polar space, which emulates the human "foveal vision".

Parameters \(m\) and \(k\) are chosen so that entire source image could fit into output image.

Transformation does not change image dimensions.

Examples

ImagePolarTransform performed on the sample image with inCenter = (150,150), and inOutputSpaceType Polar and LogPolar respectively.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also