Inference tools for Markov Random Fields on lattices: The R package mrf2d

05/30/2020 ∙ by Victor Freguglia, et al. ∙ 0

Markov random fields on two-dimensional lattices are behind many image analysis methodologies. mrf2d provides tools for statistical inference on a class of discrete stationary Markov random field models with pairwise interaction, which includes many of the popular models such as the Potts model and texture image models. The package introduces representations of dependence structures and parameters, visualization functions and efficient (C++ based) implementations of sampling algorithms, common estimation methods and other key features of the model, providing a useful framework to implement algorithms and working with the model in general. This paper presents a description and details of the package, as well as some reproducible examples of usage.



There are no comments yet.


Code Repositories


An R package for analysis of Markov Random Fields on 2-dimensional lattices.

view repo


:exclamation: This is a read-only mirror of the CRAN R package repository. mrf2d — Markov Random Field Models for Image Analysis. Homepage:, Report bugs for this package:

view repo
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.