IPSDK 4.1
IPSDK : Image Processing Software Development Kit
Image registration using 2D grey signed features
outImg,transformgreySignedFeatures2dRegistrationImg (inImg1,inImg2)
outImg,transformgreySignedFeatures2dRegistrationImg (inImg1,inImg2,motionModel)
outImg,transformgreySignedFeatures2dRegistrationImg (inImg1,inImg2,motionModel,interpPolicy,nbPoints)
RegistrationMotionTransform2dgreySignedFeatures2dRegistrationImg (inImg1,inImg2,outImg)
RegistrationMotionTransform2dgreySignedFeatures2dRegistrationImg (inImg1,inImg2,motionModel,outImg)
RegistrationMotionTransform2dgreySignedFeatures2dRegistrationImg (inImg1,inImg2,motionModel,interpPolicy,nbPoints,outImg)
RegistrationMotionTransform2dgreySignedFeatures2dRegistrationImg (inImg1,inImg2,outImg,outMaskImg)
RegistrationMotionTransform2dgreySignedFeatures2dRegistrationImg (inImg1,inImg2,motionModel,outImg,outMaskImg)
RegistrationMotionTransform2dgreySignedFeatures2dRegistrationImg (inImg1,inImg2,motionModel,interpPolicy,nbPoints,outImg,outMaskImg)

Detailed Description

Apply to the first input image the transform estimated between the two input images using ExtractGreySignedFeatures2d.

This algorithm register the first input image to patch the second input image. It simplifies the use of grey features to directly apply the transform to the image.

To do so, the following steps are performed:

A mask image can also been computed if it is provided by the user.

The algorithm also returns the estimated motion, to allow the user to have access to the tranform parameters.

Here is an example of result of registration:

greySignedFeaturesImg2dRegistrationImg.png

Example of Python code :

Example imports

import PyIPSDK
import PyIPSDK.IPSDKIPLRegistration as registration

Code Example

# opening of input images
inImg1 = PyIPSDK.loadTiffImageFile(inputImgPath1)
inImg2 = PyIPSDK.loadTiffImageFile(inputImgPath2)
outImg, transform = registration.greySignedFeatures2dRegistrationImg(inImg1, inImg2, PyIPSDK.eRMM2d_Similarity)

Example of C++ code :

Example informations

Header file

#include <IPSDKIPL/IPSDKIPLRegistration/Processor/GreySignedFeatures2dRegistrationImg/GreySignedFeatures2dRegistrationImg.h>

Code Example

GSFRegistrationImg2dResult result = greySignedFeatures2dRegistrationImg(pInImg1, pInImg2, eRegistrationMotionModel2d::eRMM2d_Similarity);