Related Experiment Video
Updated: Sep 5, 2026

Morphology-Based Distinction Between Healthy and Pathological Cells Utilizing Fourier Transforms and Self-Organizing Maps
Published on: October 28, 2018
SoftMorph: Differentiable probabilistic morphological operators for image analysis
Lisa Guzzi1, Maria A Zuluaga2, Fabien Lareyre3
1Inria, Epione Research Group, Sophia Antipolis, France; Eurecom, Data Science Department, Sophia Antipolis, France; University Hospital of Nice, Nice, France.
Abstract:
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, maintaining the computational complexity of the original binary operator. We evaluate the backpropagation capability of the proposed operators, and showcase several medical applications of morphological operators integrated into neural networks for image segmentation tasks. The code is available at https://github.com/lisaGUZZI/SoftMorph2.
