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.5)habtools_1.1.1.zip(r-4.4)habtools_1.1.1.zip(r-4.3)
habtools_1.1.1.tgz(r-4.5-any)habtools_1.1.1.tgz(r-4.4-any)habtools_1.1.1.tgz(r-4.3-any)
habtools_1.1.1.tar.gz(r-4.5-noble)habtools_1.1.1.tar.gz(r-4.4-noble)
habtools_1.1.1.tgz(r-4.4-emscripten)habtools_1.1.1.tgz(r-4.3-emscripten)
habtools.pdf |habtools.html
habtools/json (API)
NEWS

# 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 site:https://jmadinlab.github.io

Datasets:

On CRAN:

6.21 score 12 stars 9 scripts 574 downloads 49 exports 56 dependencies

Last updated 13 days agofrom:cd24297873. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 07 2025
R-4.5-winOKFeb 07 2025
R-4.5-macOKFeb 07 2025
R-4.5-linuxOKFeb 07 2025
R-4.4-winOKFeb 07 2025
R-4.4-macOKFeb 07 2025
R-4.3-winOKFeb 07 2025
R-4.3-macOKFeb 07 2025

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:abindclassclassIntcliconcavemancurlDBIdplyre1071fansiFNNgenericsgeometrygluejsonlitekernlabKernSmoothkslatticelifecyclelinproglpSolvemagicmagrittrMASSMatrixmclustmgcvmulticoolmvtnormnlmepillarpkgconfigpracmaproxypurrrR6rasterRcppRcppArmadilloRcppEigenRcppProgressrlangRvcgs2sfspterratibbletidyselectunitsutf8V8vctrswithrwk

Complexity metrics for 3D meshes

Rendered frommesh_intro.Rmdusingknitr::rmarkdownon Feb 07 2025.

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

Complexity metrics for DEMs

Rendered fromDEM_intro.Rmdusingknitr::rmarkdownon Feb 07 2025.

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

Fractal dimension methods

Rendered fromfractal_intro.Rmdusingknitr::rmarkdownon Feb 07 2025.

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