We are trying to get the histogram of each contour of the DVF to see how it changes before and after the DIR.

So, I created a DVF using the transform module and got the histogram of each countour of its VectorField.

However, the result contained negative values.

I thought the DVF was the square root of the sum of squares of the x-, y-, and z-axes, so it has positive values, and I don’t know why the DVF shows negative values in the histogram.

It sounds like this is related to a previous discussion linked below. Just to be sure we are all talking about the same things can you explain the exact steps that led to this graph? It seems like we never quite reached a conclusion in the previous discussion. Maybe we should just disable or fix whatever leads to the creation of this graph.

https://discourse.slicer.org/t/negative-values-in-dvf-histogram/