3D multi-modal medical image registration using user defined function for similarity metric computation

Thank you @dzenanz !! Following your advice and the chain of conversation you mentioned, I have found that the computation of mutual information is happening here. Please correct me if I am wrong.

Now I want to run this code, preferably in debugger mode, and modify it. How can I do that? My knowledge in C++ is limited to high school level.