Hi, i know it is now far away, but can anybody tell me how you got the code compiled? Or could you sent me your modified code? I have change a bit of code but it does not compile well. I used g++ 4.4.6 and ITK-4.3.1 I hope you can help me out. Thank you! Minh