问题
I want to estimate a value of Fractal dimension for some part of 2d image (photo). How can I calculate estimation of this value, e.g. for 15x15 pixel subimage with rgb colors?
Thanks.
回答1:
Treat the pixel data as a surface in 5-space (one dimension each for X, Y, R, G and B), then do box-counting.
Update: This is a pretty clear overview of box-counting in two dimensions, but it shouldn't be hard to generalise.
回答2:
A hilbert curve has a fractal dimension of 2. A peano curve also. What image do you want to process? What kind of fractal do you want to use?
来源:https://stackoverflow.com/questions/5771519/estimate-a-fractal-dimension-of-2d-image