You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms » FIL.ImagePolarTransform
Transforms an image to polar or log-polar space.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ImagePolarTransform ( FilNet.Image inImage, FilNet.Point2D inCenter, FilNet.PolarSpaceType inOutputSpaceType, FilNet.PolarInterpolationMethod inInterpolation, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | FilNet.Image | Input image. | |||
inCenter | FilNet.Point2D | Center of the coordinate system in input image. | |||
inOutputSpaceType | FilNet.PolarSpaceType | Method of transformation. | |||
inInterpolation | FilNet.PolarInterpolationMethod | Method of underlying interpolation. | |||
outImage | FilNet.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.