~ElasticWarp2dImgLvl1 () | |
const std::string & | getObjectName () |
const std::string & | getToolTip () |
const boost::filesystem::path | getHeaderPath () |
const std::string | getLibraryName () |
template<typename TAttribute > | |
TAttribute::StorageType | ipsdk::imaproc::gtrans::getStorage () |
RetrievalResult = | retrieveProvider (priority,provider) |
Variables | |
*</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... | |
Attribute accessors | |
Setters and Getters for attributes/// | |
template<> | |
const ipsdk::imaproc::attr::InImg & | ipsdk::imaproc::gtrans::get< ipsdk::imaproc::attr::InImg > () const |
Getter for attribute InImg. | |
template<> | |
void | ipsdk::imaproc::gtrans::set< ipsdk::imaproc::attr::InImg > (const typename ipsdk::imaproc::attr::InImg::StorageType &value) |
Setter for attribute InImg. | |
template<> | |
const ipsdk::imaproc::attr::InDxImg & | ipsdk::imaproc::gtrans::get< ipsdk::imaproc::attr::InDxImg > () const |
Getter for attribute InDxImg. | |
template<> | |
void | ipsdk::imaproc::gtrans::set< ipsdk::imaproc::attr::InDxImg > (const typename ipsdk::imaproc::attr::InDxImg::StorageType &value) |
Setter for attribute InDxImg. | |
template<> | |
const ipsdk::imaproc::attr::InDyImg & | ipsdk::imaproc::gtrans::get< ipsdk::imaproc::attr::InDyImg > () const |
Getter for attribute InDyImg. | |
template<> | |
void | ipsdk::imaproc::gtrans::set< ipsdk::imaproc::attr::InDyImg > (const typename ipsdk::imaproc::attr::InDyImg::StorageType &value) |
Setter for attribute InDyImg. | |
template<> | |
const ipsdk::imaproc::attr::InOptInterpolationPolicy & | ipsdk::imaproc::gtrans::get< ipsdk::imaproc::attr::InOptInterpolationPolicy > () const |
Getter for attribute InOptInterpolationPolicy. | |
template<> | |
void | ipsdk::imaproc::gtrans::set< ipsdk::imaproc::attr::InOptInterpolationPolicy > (const typename ipsdk::imaproc::attr::InOptInterpolationPolicy::StorageType &value) |
Setter for attribute InOptInterpolationPolicy. | |
template<> | |
const ipsdk::imaproc::attr::OutImg & | ipsdk::imaproc::gtrans::get< ipsdk::imaproc::attr::OutImg > () const |
Getter for attribute OutImg. | |
template<> | |
void | ipsdk::imaproc::gtrans::set< ipsdk::imaproc::attr::OutImg > (const typename ipsdk::imaproc::attr::OutImg::StorageType &value) |
Setter for attribute OutImg. | |
Attribute members | |
boost::shared_ptr< ipsdk::imaproc::attr::InImg > | ipsdk::imaproc::gtrans::_pInImg |
boost::shared_ptr< ipsdk::imaproc::attr::InDxImg > | ipsdk::imaproc::gtrans::_pInDxImg |
boost::shared_ptr< ipsdk::imaproc::attr::InDyImg > | ipsdk::imaproc::gtrans::_pInDyImg |
boost::shared_ptr< ipsdk::imaproc::attr::InOptInterpolationPolicy > | ipsdk::imaproc::gtrans::_pInOptInterpolationPolicy |
boost::shared_ptr< ipsdk::imaproc::attr::OutImg > | ipsdk::imaproc::gtrans::_pOutImg |
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: