outImg,transforms = | stackRegistrationImg (inImg3d) |
WarpMotionTransform2dColl = | stackRegistrationImg (inImg3d,outImg) |
outImg,transforms = | stackRegistrationImg (inImg3d,theta,maxTranslation) |
WarpMotionTransform2dColl = | stackRegistrationImg (inImg3d,theta,maxTranslation,outImg) |
image = | stackRegistrationImg (inImg3d,transformColl) |
Registration of the slices in a 3D stack using grey signed features and taking into account a cumulative angular bias.
In some applications, the aquisition of a 3D stack is subject to the device vibrations, which yields to unaligned information along the 3D dataset. This algorithm registers all slices of a 3D stack to correct such a spatial variation considered as a simple translation. It performs the registration by using Extract grey signed features 2d and Registration of grey signed features 2d. The outputs are the registered 3D stack and the estimated transforms applied to each slices. Please, note that the resulting transforms have a decimal precision but the actually applied transform parameters are truncated.
If a transform collection has already been estimated, it is possible to provide it to directly perform the registration without estimating the transform parameters.
The principle is illustrated in the figure below:
A cumulative offset may appear along the stack, as showed in the figure below. The input parameter theta can be used to compensate this shift.