The R Journal: accepted article

This article will be copy edited and may be changed before publication.

BayesBD: An R Package for Bayesian Inference on Image Boundaries PDF download
Nicholas Syring and Meng Li

Abstract We present the BayesBD package providing Bayesian inference for boundaries of noisy images. The BayesBD package implements flexible Gaussian process priors indexed by the circle to recover the boundary in a binary or Gaussian noised image. The boundary recovered by BayesBD has the practical advantages of guaranteed geometric restrictions and convenient joint inferences under certain assumptions, in addition to its desirable theoretical property of achieving (nearly) minimax optimal rate in a way that is adaptive to the unknown smoothness. The core sampling tasks for our model have linear complexity, and is implemented in c++ for computational efficiency using packages Rcpp and RcppArmadillo. Users can access the full functionality of the package in both Rgui and the corresponding shiny application. Additionally, the package includes numerous utility functions to aid users in data preparation and analysis of results. We compare BayesBD with selected existing packages using both simulations and real data applications, and demonstrate the excellent performance and flexibility of BayesBD even when the observation contains complicated structural information that may violate its assumptions.

Received: 2016-12-23; online 2017-10-25
CRAN packages: BayesBD, RcppArmadillo, shiny , CRAN Task Views implied by cited CRAN packages: NumericalMathematics, WebTechnologies

CC BY 4.0
This article is licensed under a Creative Commons Attribution 4.0 International license.

  author = {Nicholas Syring and Meng Li},
  title = {{BayesBD: An R Package for Bayesian Inference on Image
  year = {2017},
  journal = {{The R Journal}},
  url = {}