Image fractal dimension value
이전 댓글 표시
I have interest in fractal dimension (FD) as I was reading this paper https://translational-medicine.biomedcentral.com/track/pdf/10.1186/1479-5876-8-140.pdf
I run the code below on the right figure (Koch snowflake) https://translational-medicine.biomedcentral.com/articles/10.1186/1479-5876-8-140/figures/1 but I get different results, any idea why? Any recommendation of introductory book covering this issue with matlab?
clc;
clear all;
close all;
fileName='E:/fd126.png'
I = (imread(fileName));
I = imfill(I,'holes');
figure
imshow(I);
BW = imbinarize(I);
BoxCountfracDim(BW) %using Hausdorff (Box-Counting) Fractal Dimension with multi-resolution calculation version 1.0.0.0 by Tan Nguyen
hausDim(BW) %using Hausdorff (Box-Counting) Fractal Dimension version 1.2.0.0 by Alceu Costa
댓글 수: 2
John D'Errico
2022년 2월 15일
What result do you get? How far is it off? Do you accept that this computation could some some degree of error in it? How can we know what you think is the wrong number?
Image Analyst
2022년 2월 16일
If you want us to run the code you should attach BoxCountfracDim and hausDim. Otherwise I'm not doing anything.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Fractals에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

