The following are some introductory notes on Fractal Dimension Calculator for 3 dimensional geometric datasets. It is assumed that the reader is familiar with the previous application by the author called FDC which computes the dimension of objects represented by 2 dimensional images using box counting. This application superceeds that program in that it will analyse 2D geometric representations as well. However this program requires a vector representation in 2D or 3D whereas the previous application worked on images which are normally easier to acquire.
This program takes a geometric representation stored in a text file of the following format.
u 0 0 0 d 2 0 0 d 2 1 0 d 0 1 0 d 0 0 0 d 0 0 3 d 2 0 3 d 2 1 3 d 0 1 3 d 0 0 3 u 2 0 0 d 2 0 3 u 2 1 0 d 2 1 3 u 0 1 0 d 0 1 3The first character of each line is the "pen" state which is either "u" up or "d" down. The next three numbers separated by spaces or tabs are the x,y,z coordinates of the point to move to. The above example is a box with x axis length of 1, y axis length of 2 and z axis length of 3. The format only allows the representation of line segments, it has been made simple so as to maximise the possibility of creating translators from other 3D formats to this format. For 2D geometric forms one of the coordinates x,y, or z can be set to 0, or indeed FDC3D will read just two coordinates and set the third to 0 by itself. So a legal file format for 2D geometry might be
u 0 0 d 1 0 d 1 1 d 0 1 d 0 0The above represents a box.
Since this program reads and analyses 3D geometric datasets it need to display these and allow the user to view the geometry from any position. The program will automatically position the user at a "home" position whenever a datafile is read successfully. The user may pan around this view point by using the arrow keys on the keyboard. For more comprehensive view control see the camera dialog box, it is shown below.
The results and graphs are exported exactly the same way as the authors 2D FDC program. The slope analysis is left up the user, it can be done with almost any graphing or statistics package which provides linear curve fitting.
Users should be aware of the computational requirements of performing box counting with very small box sizes.
The user should verify any analysis process by going through the process for objects with known dimension. For example a line and a 2D fractal of known dimension.