After calculating lengths and angles from a plant i represented it with the help of L-system fractals (see image below).

I made that process for many plants and then i went to matlab to calculate their fractal dimension. I used the boxcount matlab's app and here are the commands i used:
RGB = imread('boxcount\plants\plant_1.png');
I = rgb2gray(RGB);
BW = im2bw(I,0.7);
[n, r] = boxcount(BW);
df = diff(log(n))./diff(log(r));
disp(['Fractal dimension, Df = ' num2str(mean(df(4:8))) ' +/' num2str(std(df(4:8)))]);
The thing is that in all plants returned me a negative value such as:
Df = -1.8973 +/0.10537
So it's seems weird to me that the value is being negative and i'm looking here for an answer on what that means. Is it my fault or its really means something.
Thank you.
