I am trying to write MATLAB code for the research paper entitled Echocardiography Image Enhancement Using Adaptive Fractional Order Derivatives.
The two thresholds are given by a=(peak+min(Gmag))/2 and b=(peak + max(Gmag))/2.
Here the peak is given as the 'peak value of the gradient magnitude calculated for every pixel in the image I.' I don't understand what it means and how should I calculate it?
Any help please!