Package: habtools 1.1.1

Nina Schiettekatte

habtools: Tools and Metrics for 3D Surfaces and Objects

A collection of functions for sampling and simulating 3D surfaces and objects and estimating metrics like rugosity, fractal dimension, convexity, sphericity, circularity, second moments of area and volume, and more.

Authors:Joshua Madin [aut], Nina Schiettekatte [aut, cre]

habtools_1.1.1.tar.gz
habtools_1.1.1.zip(r-4.7)habtools_1.1.1.zip(r-4.6)habtools_1.1.1.zip(r-4.5)
habtools_1.1.1.tgz(r-4.6-any)habtools_1.1.1.tgz(r-4.5-any)
habtools_1.1.1.tar.gz(r-4.7-any)habtools_1.1.1.tar.gz(r-4.6-any)
habtools_1.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
habtools/json (API)

# Install 'habtools' in R:
install.packages('habtools', repos = c('https://jmadinlab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jmadinlab/habtools/issues

Pkgdown/docs site:https://jmadinlab.github.io

Datasets:

On CRAN:

Conda:

6.32 score 15 stars 23 scripts 214 downloads 49 exports 55 dependencies

Last updated from:4caefc5b9f. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK286
source / vignettesOK323
linux-release-x86_64OK272
macos-release-arm64OK225
macos-oldrel-arm64OK230
windows-develOK241
windows-releaseOK247
windows-oldrelOK253
wasm-releaseOK141

Exports:%>%cell_count_1dcell_count_2dcell_count_3dcentroidcircularityconvexitycsfdem_cropdem_sampledem_splitdem_to_pointsdetect_dropentropyentropy_1dentropy_2dentropy_3dextentfdfd_areafd_boxesfd_cubesfd_diagnosefd_hvarfd_sdhrhvarmesh_to_2dmesh_to_demmesh_to_pointsmid_findpackingperimeterplanarrdhrdh_theoryrgsa_trianglescale_areascale_volumeset_originsim_circlesim_demsmasmvsphericitysurface_areasvol_trianglez

Dependencies:abindclassclassIntcliconcavemancurlDBIdplyre1071FNNgenericsgeometrygluejsonlitekernlabKernSmoothkslatticelifecyclelinproglpSolvemagicmagrittrMASSMatrixmclustmgcvmulticoolmvtnormnlmepillarpkgconfigpracmaproxypurrrR6rasterRcppRcppArmadilloRcppEigenRcppProgressrlangRvcgs2sfspterratibbletidyselectunitsutf8V8vctrswithrwk

Complexity metrics for 3D meshes
Checking your mesh | Complexity metrics: R, D, and H | Rugosity | Shape Metrics | Transform mesh into a DEM or 2D shape | References

Last update: 2024-03-01
Started: 2023-05-25

Complexity metrics for DEMs
Height range | Rugosity | Fractal dimension | Height variation method | Area method | Multiple metrics | Multiple squares | Sample a random square | Rules of thumb

Last update: 2024-02-27
Started: 2023-05-23

Fractal dimension methods
The lvec | Non-fractal surfaces | References

Last update: 2024-02-27
Started: 2024-01-19

Readme and manuals

Help Manual

Help pageTopics
Count filled cells in 1Dcell_count_1d
Count filled cells in 2Dcell_count_2d
Count filled cells 3Dcell_count_3d
Calculate the centroid of 3D pointscentroid
Calculate circularity of a 2D shapecircularity
Calculate convexity of a 3D meshconvexity
Calculate mechanical shape factorcsf
Crop DEM around pointsdem_crop
Sample a random DEM with specified size from a larger DEMdem_sample
Split DEM into smaller tilesdem_split
Transform DEM to 3D pointcloud of raster cornersdem_to_points
Detect a sudden drop, edge, or overhang in a DEMdetect_drop
Entropyentropy
1D Entropyentropy_1d
2D Entropyentropy_2d
3D entropyentropy_3d
Calculate extent of a 3D objectextent
Calculate fractal dimensionfd
Calculate fractal dimension using the surface area methodfd_area
Calculate fractal dimension using the box counting methodfd_boxes
Calculate fractal dimension using the cube counting methodfd_cubes
Diagnose fractal dimensionfd_diagnose
Calculate fractal Dimension using the height variation methodfd_hvar
Calculate fractal Dimension using the standard deviation methodfd_sd
Horseshoe reefhorseshoe
Calculate height rangehr
Calculate height variation in cells at different scaleshvar
Montipora capitatamcap
Montipora capitata 2mcap2
Transform 3D mesh into 2D outlinemesh_to_2d
Transform 3D mesh to DEMmesh_to_dem
Transform mesh to 3D point cloudmesh_to_points
Find midpoint of a DEMmid_find
Calculate packing of 3D objectpacking
Calculate perimeter of a 2D shapeperimeter
Calculates planar area of a meshplanar
Calculate rugosity, fractal dimension, and height for a DEMrdh
Calculate metric based on geometric plane equationrdh_theory
Calculate rugosityrg
Calculate surface area of trianglesa_triangle
Re-scale mesh based on a fixed areascale_area
Re-scale mesh based on a fixed volume of 1scale_volume
Set the origin of a meshset_origin
Simulate a circlesim_circle
Simulates a fractal DEMsim_dem
Calculate second moment of areasma
Calculate second moment of volumesmv
Calculate sphericity of a 3D objectsphericity
Calculate surface areasurface_area
Calculate signed volume of trianglesvol_triangle
Extract mean depth or elevation of a DEMz