Combining surface registration and model-to-model distance functionalities

Andras, thanks for this piece of code - I was able to successfully integrate it into my code without having to use model-to-model & shape population viewer.

There are just a few changes I’d like to make - it looks like with this piece of code it can only show a positive difference (for ex. the area where it’s the target model has been trimmed too much with respect to the source model, but not vice versa). How can I make it show a negative difference?

Also how can I alter the colour range? For example -0.5 to 0.5 similar to how it’s done in shape population viewer

thanks a lot