Hi all, , I want to implement "phansalka threshold algorithm", I have some information about it but for me its not enough. Please if you have matlab source code I will be so thankful if you could give me that.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Hi all, , I want to implement "phansalka threshold algorithm", I have some information about it but for me its not enough. Please if you have matlab source code I will be so thankful if you could give me that.

karo_amini
Phansalkar

This is a modification of Sauvola's thresholding method to deal with low contrast images.
Phansalskar N. et al. Adaptive local thresholding for detection of nuclei in diversity stained cytology images. International Conference on Communications and Signal Processing (ICCSP), 2011, 218-220.
In this method, the threshold t is computed as:

t = mean * (1 + p * exp(-q * mean) + k * ((stdev / r) - 1))

where mean and stdev are the local mean and standard deviation respectively. Phansalkar recommends k = 0.25, r = 0.5, p = 2 and q = 10. In this plugin, k and r are the parameters 1 and 2 respectively, but the values of p and q are fixed.
default k value is 0.25. default r value is 0.5.

are there anyone to help me?? pleaseee