{
  "_id": "6a2a543f7b7a29ca600388f3",
  "Package": "CspStandSegmentation",
  "Type": "Package",
  "Title": "Comparative Shortest Path Forest Stand Segmentation from LiDAR\nData",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Julian\", \"Frey\", email = \"julian.frey@wwd.uni-freiburg.de\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-7895-702X\")),\nperson(\"Zoe\", \"Schindler\", email = \"zoe.schindler@wwd.uni-freiburg.de\", role = c(\"ctb\"), comment = c(ORCID = \"0000-0003-2972-1920\")),\nperson(\"Katja\", \"Kröner\", email = \"katja.kroener@wwd.uni-freiburg.de\", role = c(\"ctb\"), comment = c(ORCID = \"0009-0001-9896-8057\"))\n)",
  "Description": "Functionality for segmenting individual trees from a\nforest stand scanned with a close-range (e.g., terrestrial or\nmobile) laser scanner. The complete workflow from a raw point\ncloud to a complete tabular forest inventory is provided. The\npackage contains several algorithms for detecting tree bases\nand a graph-based algorithm to attach all remaining points to\nthese tree bases. It builds heavily on the 'lidR' package. A\ndescription of the segmentation algorithm can be found in\nLarysch et al. (2025) <doi:10.1007/s10342-025-01796-z>.",
  "URL": "https://github.com/JulFrey/CspStandSegmentation",
  "BugReports": "https://github.com/JulFrey/CspStandSegmentation/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 16:50:46 UTC",
    "User": "root"
  },
  "Author": "Julian Frey [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7895-702X>), Zoe Schindler [ctb]\n(ORCID: <https://orcid.org/0000-0003-2972-1920>), Katja Kröner\n[ctb] (ORCID: <https://orcid.org/0009-0001-9896-8057>)",
  "Maintainer": "Julian Frey <julian.frey@wwd.uni-freiburg.de>",
  "Config/pak/sysreqs": "libabsl-dev cmake libfreetype6-dev libgdal-dev\ngdal-bin libgeos-dev libglpk-dev libglu1-mesa-dev make texlive\nlibpng-dev libuv1-dev libxml2-dev libgl1-mesa-dev libssl-dev\nlibproj-dev libsqlite3-dev libudunits2-dev zlib1g-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-06-09 07:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/CspStandSegmentation",
  "RemoteSha": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
  "RemoteSubdir": "CspStandSegmentation",
  "MD5sum": "d3e640fec379ff26ac63d4cadc32852d",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "CspStandSegmentation_0.2.0.tar.gz",
  "_fileid": "d77dc6335d4e9bf643a915a196361f89000cdc0bb36dfa1de9451d1309031e54",
  "_filesize": 2067568,
  "_sha256": "d77dc6335d4e9bf643a915a196361f89000cdc0bb36dfa1de9451d1309031e54",
  "_created": "2026-06-09T16:50:46.000Z",
  "_published": "2026-06-11T06:22:55.632Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80733252201,
      "time": 306,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7514504905"
    },
    {
      "job": 80733252339,
      "time": 259,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7514484981"
    },
    {
      "job": 80733252512,
      "time": 278,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7514493884"
    },
    {
      "job": 80733252365,
      "time": 291,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7514497874"
    },
    {
      "job": 80733251778,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7556353391"
    },
    {
      "job": 80733252452,
      "time": 445,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7527825562"
    },
    {
      "job": 80733252115,
      "time": 187,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7527752242"
    },
    {
      "job": 80733252134,
      "time": 503,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7527840937"
    },
    {
      "job": 80733252018,
      "time": 272,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7514380286"
    },
    {
      "job": 80733252142,
      "time": 206,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7514463258"
    },
    {
      "job": 80733252098,
      "time": 326,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7514512089"
    },
    {
      "job": 80733252540,
      "time": 261,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7514485883"
    },
    {
      "job": 80733252226,
      "time": 444,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7514558727"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add CspStandSegmentation to CRANhaven, because archived on 2026-06-09 07:02:00 +0000\n",
    "time": 1780988520
  },
  "_maintainer": {
    "name": "Julian Frey",
    "email": "julian.frey@wwd.uni-freiburg.de",
    "login": "julfrey",
    "orcid": "0000-0001-7895-702X",
    "description": "",
    "uuid": 45684330
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "lidR",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.5",
      "role": "Imports"
    },
    {
      "package": "lidR",
      "role": "Imports"
    },
    {
      "package": "dbscan",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "RCSF",
      "role": "Imports"
    },
    {
      "package": "conicfit",
      "role": "Imports"
    },
    {
      "package": "rgl",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 186,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CspStandSegmentation"
  },
  "_devurl": "https://github.com/julfrey/cspstandsegmentation",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/CspStandSegmentation.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/julfrey/cspstandsegmentation",
  "_realowner": "julfrey",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2025-10-28"
    },
    {
      "version": "0.2.0",
      "date": "2026-02-17"
    }
  ],
  "_exports": [
    "add_geometry",
    "add_las_attributes",
    "add_voxel_coordinates",
    "comparative_shortest_path",
    "csp_cost_segmentation",
    "eigen_decomposition",
    "fast_unlist",
    "fast_unlist_dist",
    "fds",
    "find_base_coordinates_geom",
    "find_base_coordinates_raster",
    "forest_inventory",
    "forest_inventory_simple",
    "las_merge",
    "p_dist",
    "p_mat_dist",
    "plot_inventory",
    "point_center_angle",
    "point_circle_distance",
    "ransac_circle_fit",
    "suppress_cat",
    "voxelize_points_mean_attributes"
  ],
  "_help": [
    {
      "page": "add_geometry",
      "title": "Add geometric features to a LAS object",
      "topics": [
        "add_geometry"
      ]
    },
    {
      "page": "add_las_attributes",
      "title": "Add all las_attributes from las@data to the header of a las element",
      "topics": [
        "add_las_attributes"
      ]
    },
    {
      "page": "add_voxel_coordinates",
      "title": "Add voxel coordinates to a las file",
      "topics": [
        "add_voxel_coordinates"
      ]
    },
    {
      "page": "comparative_shortest_path",
      "title": "helper function for csp_cost_segemntation",
      "topics": [
        "comparative_shortest_path"
      ]
    },
    {
      "page": "csp_cost_segmentation",
      "title": "Comparative Shortest Path with cost weighting tree segmentation",
      "topics": [
        "csp_cost_segmentation"
      ]
    },
    {
      "page": "eigen_decomposition",
      "title": "Fast Eigenvalues decomposition for k nearest neighbors using a C++ function",
      "topics": [
        "eigen_decomposition"
      ]
    },
    {
      "page": "fast_unlist",
      "title": "helper function to unlist IDs generated by dbscan::frNN",
      "topics": [
        "fast_unlist"
      ]
    },
    {
      "page": "fast_unlist_dist",
      "title": "helper function to unlist distances computed by dbscan::frNN",
      "topics": [
        "fast_unlist_dist"
      ]
    },
    {
      "page": "fds",
      "title": "Farthest Distance Sampling (Farthest Point Sampling)",
      "topics": [
        "fds"
      ]
    },
    {
      "page": "find_base_coordinates_geom",
      "title": "Find stem base position using a geometric feature filtering and clustering approach",
      "topics": [
        "find_base_coordinates_geom"
      ]
    },
    {
      "page": "find_base_coordinates_raster",
      "title": "Find stem base position using a density raster approach",
      "topics": [
        "find_base_coordinates_raster"
      ]
    },
    {
      "page": "forest_inventory",
      "title": "Function to perform a forest inventory based on a segmented las object (needs to contain TreeID)",
      "topics": [
        "forest_inventory"
      ]
    },
    {
      "page": "forest_inventory_simple",
      "title": "Function to perform a forest inventory based on a segmented las object (needs to contain TreeID) This version is a faster but more simplistic approach than forest_inventory() for the DBH estimates",
      "topics": [
        "forest_inventory_simple"
      ]
    },
    {
      "page": "las_merge",
      "title": "Makes one las-object from multiple las-objects",
      "topics": [
        "las_merge"
      ]
    },
    {
      "page": "p_dist",
      "title": "Point distance function",
      "topics": [
        "p_dist"
      ]
    },
    {
      "page": "p_mat_dist",
      "title": "Point distance function",
      "topics": [
        "p_mat_dist"
      ]
    },
    {
      "page": "plot_inventory",
      "title": "Function to plot the inventory results into a lidR 3d plot of the point cloud",
      "topics": [
        "plot_inventory"
      ]
    },
    {
      "page": "point_center_angle",
      "title": "Returns the angle between the center of the circle and a point in degrees",
      "topics": [
        "point_center_angle"
      ]
    },
    {
      "page": "point_circle_distance",
      "title": "Helper function to compute distances from a point to the circle",
      "topics": [
        "point_circle_distance"
      ]
    },
    {
      "page": "ransac_circle_fit",
      "title": "RANSAC circle fitting algorithm specially adapted for tree DBH estimation",
      "topics": [
        "ransac_circle_fit"
      ]
    },
    {
      "page": "suppress_cat",
      "title": "Suppress only the cat() output",
      "topics": [
        "suppress_cat"
      ]
    },
    {
      "page": "voxelize_points_mean_attributes",
      "title": "helper function to voxelize a las element",
      "topics": [
        "voxelize_points_mean_attributes"
      ]
    }
  ],
  "_readme": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/CspStandSegmentation/CspStandSegmentation/README.md",
  "_rundeps": [
    "abind",
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "class",
    "classInt",
    "cli",
    "codetools",
    "conicfit",
    "cpp11",
    "data.table",
    "DBI",
    "dbscan",
    "digest",
    "doParallel",
    "e1071",
    "evaluate",
    "fastmap",
    "fontawesome",
    "foreach",
    "fs",
    "geigen",
    "generics",
    "glue",
    "highr",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "lattice",
    "lazyeval",
    "lidR",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "parallelly",
    "pkgconfig",
    "pracma",
    "proxy",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppArmadillo",
    "RCSF",
    "rgl",
    "rlang",
    "rlas",
    "rmarkdown",
    "s2",
    "sass",
    "sf",
    "stars",
    "terra",
    "tinytex",
    "units",
    "vctrs",
    "wk",
    "xfun",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 2.3979400086720375,
  "_indexed": false,
  "_nocasepkg": "cspstandsegmentation",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://julfrey.r-universe.dev/CspStandSegmentation",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-09T16:55:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "ee340be39ea3c240a06248017f2b0ebc65b16c207522c155010569590fe4fad3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-09T16:54:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "7c9e42277bf492819cbee9db072bc381618bb78c0a2c83f8dca44888b9a14863",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-09T16:54:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "96a0ec8271070895b39eeda393f11e6c180e57bcf9b65e4dd6dd06c0f9024f67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-09T16:54:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "0809230f853fc22f17c846beb8824f0794892f688a6a7bbc9e6c8b32163f0787",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-11T06:21:12.000Z",
      "arch": "aarch64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "b7351609ed51073e0cebdfe80f1754931583cfd0b48843ddfda4bcc79020681c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-10T06:06:26.000Z",
      "arch": "x86_64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "42695799f4df53db330bcee97e42e0ea5b77255f88aea1ce9d1135e386045a58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-10T06:02:32.000Z",
      "arch": "aarch64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "6894f66c973374b586688d6a38e746eb3057c633dade379d8777eb63e4328fbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-10T06:06:55.000Z",
      "arch": "x86_64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "d97a2dbe2a2aea02ae8d15946d2f52502ff668590e5c1a386f77bea644ccba57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-09T16:54:39.000Z",
      "arch": "emscripten",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "692b57a728b1b80c066b2e4d2bc3bd281ba71f87633e4f678fae6ea39233845e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-09T16:54:45.000Z",
      "arch": "x86_64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "42d38cab6ebb5a21bcb29dc7073ff9ad901cd21c72f60600bb45d59e9c97ebf7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-09T16:54:25.000Z",
      "arch": "x86_64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "8e52fb503efdbff132875888224892087d2e244ba56d4ad09e80060ebc18afeb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-09T16:56:46.000Z",
      "arch": "x86_64",
      "commit": "c0eda5186337d38ea66d8c51106d8b8bc44b6fe8",
      "fileid": "9eef26ddc8de06e5054eb405a9dcc021c708da0bc5efe1e16cdfd2e2e7eb16e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27221601989"
    }
  ]
}