CreatePincushionMap
Creates a spatial map for removing/adding pincushion distortion, using divisional lens distortion model.
Applications:The easiest way to remove typical lens distortion. Use together with RemapImage.
Syntax
C++
C#
Python
def CreatePincushionMap( inImageFormat: ImageFormat, inKappa: float, inInterpolationMethod: InterpolationMethod, outMap: SpatialMap, /, *, inCenter: Point2D | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImageFormat | ImageFormat | ||
![]() |
inKappa | float | ||
![]() |
inCenter | Point2D | None | None | |
![]() |
inInterpolationMethod | InterpolationMethod | ||
![]() |
outMap | SpatialMap |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


