Phase Stretch Transform

PST or Phase Stretch Transform is an operator that finds features in an image. PST takes an intensity image I as its input, and returns a binary image out of the same size as I, with 1’s where the function finds sharp transitions in I and 0’s elsewhere. https://en.wikipedia.org/wiki/Phase_stretch_transform
PST Source Code

Searched and found a python version of PST.
python PST
Try to run that. Results are as below:

LPF=0.21 , Morph_flag=False

LPF=0.21 , Morph_flag=False

LPF=0.08 , Morph_flag=True

LPF=0.08 , Morph_flag=True