From what is told on page 268 of the Polarimetric Radar Imaging: From Basics To Applications:
I have written the following code for wishart distance calculation in Matlab:
function distance = WishartDistance(Cm,Z) distance = log(det(Cm))+trace(Cm\Z); end
But for matrices $C_m$ and $Z$ in the following:
I get the negative answer:
I want to see if the formula should be written as
Or is an absolute value omitted in the book incorrectly?