Back to FabImage Library website
You are here: Start » Function Reference » Image Spatial Transforms Deprecated » UndistortImage_DivisionModel_Deprecated

UndistortImage_DivisionModel_Deprecated
Header: | FIL.h |
---|---|
Namespace: | fil |
Applies division model lens distortion to an image.
Syntax
C++
void fil::UndistortImage_DivisionModel_Deprecated ( const fil::Image& inImage, const float inKappa, const ftl::Optional<fil::Point2D>& inCenter, fil::InterpolationMethod::Type inImageInterpolation, fil::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inKappa | const float | ||
![]() |
inCenter | const Optional<Point2D>& | NIL | |
![]() |
inImageInterpolation | InterpolationMethod::Type | ||
![]() |
outImage | Image& | Output image |
Examples
![]() |
![]() |
Image undistortion with inKappa = 18.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown interpolation method in UndistortImage_DivisionModel_Deprecated. |