Hi,
In the example python code jacobian_structure_mask.py there is this line:
isNonRigid = abs(math.log(abs(jacobian.data[i]))) >= 0.5
Could you please explain why 0.5 is used here as a threshold? And why do you use log here instead of simply looking on jacobian.data values different from 1 when there is some volume change?
According to Velocity 4.1 Instructions of use:

10^0.5 = 3.16 and 10^(-0.5) = 0.316 meaning 3 times decrease / increase of voxel volume which I would find a bit surprising for a rigid registration.