Solved by 7029279 in post #16 
              
              
                I normalized the target and original image data and it somehow solved the problem which I don’t quiet understand.  closing the issue.