BCFD -- a Visual Basic program for calculation of the fractal dimension of digitized geological image data using a box-counting technique
Keywords:
box-counting, program, Visual Basic, image analysis, fractal dimensionAbstract
The BCFD program was developed for the analysis of digitized objects using a box-counting algorithm, which has the largest number of applications among the fractal methods in the geosciences. Counting is performed by scanning of image pixels in boxes of different sizes, and the number of boxes is determined automatically from the image resolution. The program calculates the fractal dimension D of the objects in the image, along with the coefficient of determination R2 . Input files are thus transferred to ubiquitous BMP images, in a 1-bit monochrome format. The program outputs the results on screen, into a text file and optionally also directly into MS Excel, where the data can be further used in charts or other calculations. It was tested with three fractal and three Euclidean objects with known theoretical values, plus three geological image data (a natural river network and two fracture networks), and gave results with very high or perfect theoretical accuracy. Application of data values obtained is presented with several examples. BCFD is written in Visual Basic 6.0. The source code is freely available, and is open for any modifications or integration with other software packages that are powered by Visual Basic for Applications (VBA) or its equivalent.Downloads
Published
2010-03-27
Issue
Section
Articles
License
Authors who publish with this journal agree to the following terms:- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as this can lead to productive exchanges and earlier and more frequent citation of the published work (See The Effect of Open Access).