Hi,

I am using both a custom code and the ‘slice geometry’ module from ImageJ to compute the maximum and minimum moment of area of a stack of slices. However, I get a difference between the two outputs and I don’t get why.

In my custom code, I use the following formula, based on Mohr’s circle, to compute Imin and Imax:

I_min = (Ixx + Iyy)/2 - sqrt( (Ixx-Iyy)^2/2 + Ixy^2 ) ;

I_max = (Ixx + Iyy)/2 + sqrt( (Ixx-Iyy)^2/2 + Ixy^2 ) ;

Except this formula, every pre-processing step is the same. Therefore, does anyone know which precise formula is applied in ‘slice geometry’?

Thanks a lot for the help !