Apply a generic motion field to an image.
More...
|
|
*</em > *section ElasticWarp2dImg_ExamplePython Example of Python | ipsdk::imaproc::gtrans::code |
| |
| IPSDKIPLGEOMETRICTRANSFORM_API image::ImagePtr | ipsdk::imaproc::gtrans::elasticWarp2dImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pInDxImg, const image::ImageConstPtr &pInDyImg) |
| | wrapper function for Apply a generic motion field to an image More...
|
| |
| IPSDKIPLGEOMETRICTRANSFORM_API image::ImagePtr | ipsdk::imaproc::gtrans::elasticWarp2dImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pInDxImg, const image::ImageConstPtr &pInDyImg, const ipsdk::imaproc::attr::eInterpolationPolicy &interpolationPolicy) |
| | wrapper function for Apply a generic motion field to an image More...
|
| |
| IPSDKIPLGEOMETRICTRANSFORM_API image::ImagePtr | ipsdk::imaproc::gtrans::elasticWarp2dImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pInFlowImg) |
| | wrapper function for Apply a generic motion field to an image More...
|
| |
| IPSDKIPLGEOMETRICTRANSFORM_API image::ImagePtr | ipsdk::imaproc::gtrans::elasticWarp2dImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pInFlowImg, const ipsdk::imaproc::attr::eInterpolationPolicy &interpolationPolicy) |
| | wrapper function for Apply a generic motion field to an image More...
|
| |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::elasticWarp2dImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pInDxImg, const image::ImageConstPtr &pInDyImg, const image::ImagePtr &pOutImg) |
| | wrapper function for Apply a generic motion field to an image More...
|
| |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::elasticWarp2dImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pInDxImg, const image::ImageConstPtr &pInDyImg, const ipsdk::imaproc::attr::eInterpolationPolicy &interpolationPolicy, const image::ImagePtr &pOutImg) |
| | wrapper function for Apply a generic motion field to an image More...
|
| |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::elasticWarp2dImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pInFlowImg, const image::ImagePtr &pOutImg) |
| | wrapper function for Apply a generic motion field to an image More...
|
| |
| IPSDKIPLGEOMETRICTRANSFORM_API void | ipsdk::imaproc::gtrans::elasticWarp2dImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pInFlowImg, const ipsdk::imaproc::attr::eInterpolationPolicy &interpolationPolicy, const image::ImagePtr &pOutImg) |
| | wrapper function for Apply a generic motion field to an image More...
|
| |
Apply a generic motion field to an image.
This algorithm transforms the input image according to the input motion field. Hence, the supported displacement is totally generic and is not limited to a rigid or an affine transform. The motion field contains the displacement at each pixel of the input image and can be passed as 2 distinct images or as a two-framed sequence image. In the case of a sequence image, the first frame is the displacement along the x direction and the second frame is the displacement along the y direction.
The motion field is expressed as:
Ere is an example of deformation:
Attributes description
Attribute description for algorithm :
Global Rule description
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg,_pOutImg) &&
ipsdk::imaproc::matchSize (_pInImg,_pInDxImg) &&
ipsdk::imaproc::matchSize (_pInImg,_pInDyImg)/* &&
ipsdk::imaproc::matchSize (_pInImg,_pOutWk1RealImg) &&
ipsdk::imaproc::matchSize (_pInImg,_pOutWk2RealImg) &&
ipsdk::imaproc::matchSize (_pInImg,_pOutWk3RealImg) &&
ipsdk::imaproc::matchSize (_pInImg,_pOutWk4RealImg) &&
ipsdk::imaproc::matchSize (_pInImg,_pOutWk5RealImg)
- See also
- ElasticWarp2dImgLvl2
-
ElasticWarp2dImgLvl3
◆ elasticWarp2dImg() [1/8]
wrapper function for Apply a generic motion field to an image
- Exceptions
-
◆ getStorage()
template<typename TAttribute >
| TAttribute::StorageType ipsdk::imaproc::gtrans::getStorage |
( |
| ) |
|
retrieve storage associated to a given attribute
- Note
- This method is only available for Output and In/Out attributes
- Exceptions
-
◆ retrieveProvider()
method allowing to retrieve provider associated to asynchronous processing in derived class
- Returns
- provider retrieval result.
- Note
- On success provider pointer must not be null nor uninitialized
◆ elasticWarp2dImg() [2/8]
wrapper function for Apply a generic motion field to an image
- Exceptions
-
◆ elasticWarp2dImg() [3/8]
wrapper function for Apply a generic motion field to an image
- Exceptions
-
◆ elasticWarp2dImg() [4/8]
wrapper function for Apply a generic motion field to an image
- Exceptions
-
◆ elasticWarp2dImg() [5/8]
wrapper function for Apply a generic motion field to an image
- Exceptions
-
◆ elasticWarp2dImg() [6/8]
wrapper function for Apply a generic motion field to an image
- Exceptions
-
◆ elasticWarp2dImg() [7/8]
wrapper function for Apply a generic motion field to an image
- Exceptions
-
◆ elasticWarp2dImg() [8/8]
wrapper function for Apply a generic motion field to an image
- Exceptions
-