OTB  9.0.0
Orfeo Toolbox
+ Collaboration diagram for Markov Random Field-based Filters:

Markov Random Field (MRF)-based Filters assume that the segmented image is Markovian in nature, i.e., adjacent pixels are likely to be of the same class. These methods typically combine intensity-based Filters with MRF prior models also known as Gibbs prior models.