I have a real-valued image `y_i`, for `i = 1, ..., N`, observed on a hexagonal lattice in which each interior pixel has 6 nearest neighbours. I want to segment the image into 2 classes by fitting a binary hidden-Ising model with Gaussian emissions, where the latent label field is spatially smoothed by an Ising prior with a FIXED coupling.

My model is:
`x_i in {0, 1}` is the latent class label at pixel i,
`x | beta ~ Ising(beta, E):  p(x | beta) ∝ exp( beta * sum_{(i,j) in E} 1[x_i = x_j] ),`
`y_i | x_i = k ~ Normal(mu_k, sigma_k), for i = 1, ..., N,`
`mu_0 ~ Normal(0, 5),`
`mu_1 ~ Normal(0, 5),`
`sigma_0 ~ half-Normal(0, 2),`
`sigma_1 ~ half-Normal(0, 2),`
No ordering constraint on (mu_0, mu_1); labels are identified post-hoc by sorting the posterior means.

The coupling `beta` is FIXED and known (its normalising constant `Z(beta)` is doubly intractable, so it is not inferred); inference targets the latent field `x` and the emission parameters `(mu_0, mu_1, sigma_0, sigma_1)`.

Here:
`y_i` is the observed intensity at pixel i,
`x_i` is the latent class label at pixel i,
`E` is the set of undirected edges of the hexagonal lattice (each interior pixel has 6 neighbours),
`beta` is the (fixed) Ising coupling strength,
`mu_k` is the Gaussian emission mean for class k,
`sigma_k` is the Gaussian emission standard deviation for class k (per-class, not shared),
`N` is the number of pixels.
