Package: fibermargin
Type: Package
Title: Categorical Mask and Spatial Label Refinement
Version: 0.1.0
Authors@R: person(given = "Stefano", family = "Cacciatore",
    email = "tkcaccia@gmail.com", role = c("aut", "cre", "cph"))
Description: Implements 'FiberMargin', a deterministic training-free operator for
    repairing categorical masks and spatial labels from coordinates and labels
    alone. Its primary multiclass operator uses rotated space-filling-curve
    charts and two-sided class enclosure at one fixed geometric transport
    range. A class-balanced, isolation-protected chart-disagreement rule
    provides pointwise repair decisions and audit scores. An auxiliary
    nearest-neighbour ballot handles binary masks. The 'C++'
    engine supports two- and three-dimensional coordinates, removes constant
    axes independently within each specimen, and reuses one deterministic CPU
    worker budget without nested process pools.
    Reproducible mask corruptions, planar and volumetric simulators,
    damage-aware evaluation, and compact licensed human dorsolateral prefrontal
    cortex and colorectal cancer benchmarks support assessment.
License: MIT + file LICENSE
URL: https://tkcaccia.github.io/fibermargin/,
        https://github.com/tkcaccia/fibermargin
BugReports: https://github.com/tkcaccia/fibermargin/issues
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: Rcpp, parallel
LinkingTo: Rcpp
Suggests: testthat (>= 3.0.0), ggplot2, dplyr, tidyr, knitr, rmarkdown
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/roxygen2/version: 8.0.0
NeedsCompilation: yes
Packaged: 2026-09-10 16:52:06 UTC; stefano
Author: Stefano Cacciatore [aut, cre, cph]
Maintainer: Stefano Cacciatore <tkcaccia@gmail.com>
Repository: CRAN
Date/Publication: 2026-09-18 11:50:18 UTC
