Fractal2D: Calculate the fractal dimension of an image using the...

View source: R/pictplot.R

Fractal2DR Documentation

Calculate the fractal dimension of an image using the traditional 2D box counting method

Description

Calculate the fractal dimension of an image using the traditional 2D box counting method

Usage

Fractal2D(im, n = 20, thr = "auto", rawdata = FALSE)

Arguments

im

an image

n

number of samples

thr

threshold for binarization. either numeric (e.g., 0.5), or "auto", or a string for quantiles (e.g., "15%")

rawdata

if TRUE, raw data is returned as well as slope value

Value

a numeric

Examples

Fractal2D(regatta)

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.