This is the Python implementation of the radial variance transform described in the original paper
This code is available as a PyPi package:
pip install imgrvt
You can use it as
import imgrvt as rvt
transformed=rvt.rvt(image,rmin=2,rmax=25)
The details and application recommendations are described in the tutorial.