Phansalkar Threshold Method in C++
The Phansalkar method is described in Adaptive local thresholding for detection of nuclei in diversity stained cytology images , is also introduced in an Auto Local Threshold plugin in ImageJ.
Using the Phansalkar method to segment carbon black particles in cytology images:
-
First, split original image into three channels(R, G, B).
-
Blue Channel image which is easier to be segmented as input for the Phansalkar method.
-
The segment effect is as follows:
Environment:
- Visual Studio 2015
- OpenCV 4.5.1