SoftMorph: Differentiable probabilistic morphological operators for image analysis

Guzzi, Lisa; Zuluaga, Maria A.; Lareyre, Fabien et al.
Submitted to TechRxiv, 8 October 2024

Morphological operators are crucial in image analysis. Their integration into deep learning pipelines could improve performances by extracting or enhancing important image features, either within network architectures or loss functions. However, the difficulties in rendering those operators differentiable hinder their integration. In this paper, we present SoftMorph, a novel framework designed to convert any binary morphological operator defined as a Boolean expression into its differentiable and probabilistic counterpart, compatible with gradient-based optimization. Specifically, we define probabilistic operators as the expectation of the binary operator with respect to the probability of generating each binary configuration. This expectation can be computed trivially from the truth table of the binary morphological filter, as a multi-linear polynomial function. Moreover, we approximate the probabilistic operators with quasi-probabilistic operators directly translated from the Boolean expressions leveraging Fuzzy logic. These quasiprobabilistic operators therefore maintain the computational complexity of the original binary operator. We demonstrate the efficiency and reliability of our method through validation experiments, and evaluate the backpropagation capability of the proposed operators. Finally, we showcase several applications of morphological operators integrated into neural networks for image segmentation tasks. 


Type:
Journal
Date:
2024-10-08
Department:
Data Science
Eurecom Ref:
7927
Copyright:
© EURECOM. Personal use of this material is permitted. The definitive version of this paper was published in Submitted to TechRxiv, 8 October 2024 and is available at :

PERMALINK : https://www.eurecom.fr/publication/7927