![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
algorithm allowing to apply a motion transformation warping operation on a 2d image More...
| IPSDKIPLGEOMETRICTRANSFORM_API image::ImagePtr | ipsdk::imaproc::gtrans::warp2dImg (const image::ImageConstPtr &pInImg, const attr::WarpMotionTransform2dConstPtr &pInWarpMotionTransform2d, const attr::eInterpolationPolicy &inOptInterpolationPolicy) |
| wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image More... | |
| IPSDKIPLGEOMETRICTRANSFORM_API image::ImagePtr | ipsdk::imaproc::gtrans::warp2dImg (const image::ImageConstPtr &pInImg, const attr::WarpMotionTransform2dConstPtr &pInWarpMotionTransform2d) |
| wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image More... | |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::warp2dImg (const image::ImageConstPtr &pInImg, const attr::WarpMotionTransform2dConstPtr &pInWarpMotionTransform2d, const image::ImagePtr &pOutImg) |
| wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image More... | |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::warp2dImg (const image::ImageConstPtr &pInImg, const attr::WarpMotionTransform2dConstPtr &pInWarpMotionTransform2d, const attr::eInterpolationPolicy &inOptInterpolationPolicy, const image::ImagePtr &pOutImg) |
| wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image More... | |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::warp2dImg (const image::ImageConstPtr &pInImg, const attr::WarpMotionTransform2dConstPtr &pInWarpMotionTransform2d, const attr::eInterpolationPolicy &inOptInterpolationPolicy, const image::ImagePtr &pOutImg, const image::ImagePtr &pOutOptMaskImg) |
| wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image More... | |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::computeWarpedDefaultSize (const attr::WarpMotionTransform2d &motionTransform, const image::BaseImage &inputImg, ipUInt64 &outputSizeX, ipUInt64 &outputSizeY) |
| function allowing to compute default output size for a warping transformation 2d | |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::computeWarpedDefaultSize (const attr::WarpMotionTransform2d &motionTransform, const ipUInt64 inputSizeX, const ipUInt64 inputSizeY, ipUInt64 &outputSizeX, ipUInt64 &outputSizeY) |
| function allowing to compute default output size for a warping transformation 2d | |
algorithm allowing to apply a motion transformation warping operation on a 2d image
This algorithm allows to apply a motion transformation defined by parameter
on an input image
. Available warping transformations are defined by enumerate ipsdk::math::transform::eGeometricTransform2dType.
Interpolation policy used during processing is defined by optional input parameter
(see ipsdk::imaproc::attr::eInterpolationPolicy).
On output, algorithm generates requested warped image
and optionally output mask image
. Size of output image is not ruled :
This process is illustrated by following figure :
If output image is not provided by user, a default output image size is computed using computeWarpedDefaultSize function.
Here is an example of application of Warp2dImg algorithm on a 2d image, in this case we apply a centered rotation on input image :
Here is another example of application of Warp2dImg algorithm on a 2d image, in this case we apply an homography on input image :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::gtrans::InWarpMotionTransform2d | [Input] motion transformation parameters associated to 2d warp operations | X |
| ipsdk::imaproc::attr::InOptInterpolationPolicy | [Input Optional] interpolation policy used to extract local data from image | X |
| ipsdk::imaproc::attr::InOptTargetTile2dSideLength | [Input Optional] target processing size for tile 2d (side length) | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | customOutput (_pOutImg, outputWarp(_pInImg,_pInWarpMotionTransform2d)) |
| ipsdk::imaproc::attr::OutOptMaskImg | [Output Optional] mask image for processing operation | X |
Global rule description for algorithm :
ipsdk::imaproc::matchBufferType (_pInImg,_pOutImg) &&
ipsdk::imaproc::matchSize (ipsdk::imaproc::eMatchImageSizeType::eMIST_ZCT,_pInImg,_pOutImg) &&
ipsdk::processor::ifIsSet (_pOutOptMaskImg,
ipsdk::imaproc::match2dMask (_pOutImg,_pOutOptMaskImg))
| IPSDKIPLGEOMETRICTRANSFORM_API image::ImagePtr ipsdk::imaproc::gtrans::warp2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const attr::WarpMotionTransform2dConstPtr & | pInWarpMotionTransform2d, | ||
| const attr::eInterpolationPolicy & | inOptInterpolationPolicy | ||
| ) |
wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLGEOMETRICTRANSFORM_API image::ImagePtr ipsdk::imaproc::gtrans::warp2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const attr::WarpMotionTransform2dConstPtr & | pInWarpMotionTransform2d | ||
| ) |
wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLGEOMETRICTRANSFORM_API void ipsdk::imaproc::gtrans::warp2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const attr::WarpMotionTransform2dConstPtr & | pInWarpMotionTransform2d, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLGEOMETRICTRANSFORM_API void ipsdk::imaproc::gtrans::warp2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const attr::WarpMotionTransform2dConstPtr & | pInWarpMotionTransform2d, | ||
| const attr::eInterpolationPolicy & | inOptInterpolationPolicy, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLGEOMETRICTRANSFORM_API void ipsdk::imaproc::gtrans::warp2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const attr::WarpMotionTransform2dConstPtr & | pInWarpMotionTransform2d, | ||
| const attr::eInterpolationPolicy & | inOptInterpolationPolicy, | ||
| const image::ImagePtr & | pOutImg, | ||
| const image::ImagePtr & | pOutOptMaskImg | ||
| ) |
wrapper function for algorithm allowing to apply a motion transformation warping operation on a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14