Author: Giuseppe Antonio Recupero
Other Authors: Luca Calatroni, Serena Morigi, Simone Parisotto
Version 1.0
Date: 19/06/22
This software implements the algorithms described in the paper Fast and stable schemes for non-linear osmosis filtering, also available on arXiv.
Given an image with a shadow/light-spot (left) and its relative boundary (middle), the result (right) is an image where the shadow/spot-light has been removed.
Given an image (left), the algorithm computes the mask of its edges (middle). Then, using only the information of the drift term stored on the mask, it reconstruct an approximation of the original image (right).
The provided algorithm implements also the linear osmosis described in A Fully Discrete Theory for Linear Osmosis Filtering, by simply switching on the "flag_linear" variable in main_osmosis_removal and main_osmosis_cdr.
The code related to the comparison model Anisotropic osmosis filtering for shadow removal in images is available at GitHub.