Calculates the fractal dimension of 2D and 3D (sliced) images
References