GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - brian-xu/FractalDimension: Calculating fractal dimensions with box-counting

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
FractalDimension.py
FractalDimension.py
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Fractal Dimension of 2D Images

This algorithm calculates the fractal dimension of a 2D image using a modified box-counting approach as described by Wen-Li Lee and Kai-Sheng Hsieh.

Usage

import numpy as np
import cv2
from FractalDimension import fractal_dimension

#test data
image = cv2.imread('image.png', 0)

fd = fractal_dimension(image)
print(f"Fractal dimension of the image: {fd}")

Note: OpenCV is not a strict requirement, but the image is expected to be formatted identically to OpenCV's grayscale representation.

About

Calculating fractal dimensions with box-counting

Topics

box-countingdigital-image-processingfractal-dimensionopencvpython

Resources

Readme
MIT license
Activity

Stars

31 stars

Watchers

1 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.