What a perfect work~~~ I try it and foud that the gradient of the image is calculated as [My,Mx]=gradient(M); But why you want to inverse the x and y? Since normally we use [Mx,My]=gradient(M); Maybe it is related to your 'Movepixels' function?
Your implemntation is based on the additive Demons, do you have any idea to add a compositive Demons? How do we calculate the composition of fields in Matlab? Thanks.
hi Dirk,
Ive been using demon's off late. Had a question on the forward and backward transformation functions and its use in conjuction with movepixels.m . Here is what I have: A deformation map (D) derived by registering a moving object (M) to a static object (S). I would now like to use D^-1 and M and solve for S.
Ive tried using movepixels.m and the bacward2forward.m, but as I see it, movepixels.m only considers static images as its inputs, which is not what I desire. Your comments and suggestions on this would be highly appreciated.
Thanks
*emilie
The functionmovepixels.m is present in the sub-folder functions_nonrigid. To make 3D work, you have to run compile_c_files ..., or compile the c-code with the mex function.
The file ''movepixels.m'' does not exist in the zipped folder that I downloaded. So, I searched it in the net but the version that I found does not fit to the existing 3D image registration :(
Can you please tell me where I can find the 3D version of the file ''movepixels.m''.
Thanks.
good job.thanks.
I want to try the example in the demons energy,but there is an erro message for the fminsd,I can not find the information of fminsd. look forward to receiving your reply.thanks
xiaomei
Comment only