An implementation of loopy belief propagation for binary image denoising. Both sequential and parallel updates are implemented.