Fit a hidden Potts model to the observed data, using a fixed value of beta.
gibbsPotts(y, labels, beta, mu, sd, neighbors, blocks, priors, niter = 1)
A matrix containing MCMC samples for the parameters of the Potts model.
A vector of observed pixel data.
A matrix of pixel labels.
The inverse temperature parameter of the Potts model.
A vector of means for the mixture components.
A vector of standard deviations for the mixture components.
A matrix of all neighbors in the lattice, one row per pixel.
A list of pixel indices, dividing the lattice into independent blocks.
A list of priors for the parameters of the model.
The number of iterations of the algorithm to perform.