Skip to main content Accessibility help

Segmentation Approach Towards Phase-Contrast Microscopic Images of Activated Sludge to Monitor the Wastewater Treatment

  • Muhammad Burhan Khan (a1), Humaira Nisar (a1), Choon Aun Ng (a1), Kim Ho Yeap (a1) and Koon Chun Lai (a1)...


Image processing and analysis is an effective tool for monitoring and fault diagnosis of activated sludge (AS) wastewater treatment plants. The AS image comprise of flocs (microbial aggregates) and filamentous bacteria. In this paper, nine different approaches are proposed for image segmentation of phase-contrast microscopic (PCM) images of AS samples. The proposed strategies are assessed for their effectiveness from the perspective of microscopic artifacts associated with PCM. The first approach uses an algorithm that is based on the idea that different color space representation of images other than red-green-blue may have better contrast. The second uses an edge detection approach. The third strategy, employs a clustering algorithm for the segmentation and the fourth applies local adaptive thresholding. The fifth technique is based on texture-based segmentation and the sixth uses watershed algorithm. The seventh adopts a split-and-merge approach. The eighth employs Kittler’s thresholding. Finally, the ninth uses a top-hat and bottom-hat filtering-based technique. The approaches are assessed, and analyzed critically with reference to the artifacts of PCM. Gold approximations of ground truth images are prepared to assess the segmentations. Overall, the edge detection-based approach exhibits the best results in terms of accuracy, and the texture-based algorithm in terms of false negative ratio. The respective scenarios are explained for suitability of edge detection and texture-based algorithms.


Corresponding author

* Corresponding Author.


Hide All
Amaral, A.L., Mesquita, D.P. & Ferreira, E.C. (2013). Automatic identification of activated sludge disturbances and assessment of operational parameters. Chemosphere 91, 705710.
Bitton, G. (2005). Wastewater Microbiology. Hoboken, NJ: John Wiley & Sons Inc.
Boztoprak, H., Özbay, Y., Güçlü, D. & Küçükhemek, M. (2015). Prediction of sludge volume index bulking using image analysis and neural network at a full-scale activated sludge plant. Desalination and Water Treatment 57, 1719517205.
Bradhurst, C.J., Boles, W. & Xiao, Y. (2008). Segmentation of Bone Marrow Stromal Cells in Phase Contrast Microscopy Images. In 23rd International Conference Image and Vision Computing, pp. 1–6. Christchurch, New Zealand: IEEE.
Cai, H., Yang, Z., Cao, X., Xia, W. & Xu, X. (2014). A new iterative triclass thresholding technique in image segmentation. IEEE Trans Image Process 23, 10381046.
Cenens, C., Van Beurden, K.P., Jenné, R. & Van Impe, J.F. (2002). On the development of a novel image analysis technique to distinguish between flocs and filaments in activated sludge images. Water Sci Technol 46, 381387.
Das, K., Majumder, A., Siegenthaler, M., Keirstead, H. & Gopi, M. (2011). Automated cell classification and visualization for analyzing remyelination therapy. Visual Comput 27, 10551069.
Debeir, O., Adanja, I., Warzée, N., Van Ham, P. & Decaestecker, C. (2008). Phase Contrast Image Segmentation by Weak Watershed Transform Assembly. In 5th IEEE International Symposium on Biomedical Imaging: from Nano to Macro. pp. 724–727. Paris, France: IEEE.
Gonzalez, R.C., Woods, R.L. & Eddins, S.L. (2010). Digital Image Processing Using MATLAB. 2nd ed. New York, NY: McGraw Hill Education.
Jaccard, N., Griffin, L.D., Keser, A., Macown, R.J., Super, A., Veraitch, F.S. & Szita, N. (2014). Automated method for the rapid and precise estimation of adherent cell culture characteristics from phase contrast microscopy images. Biotechnol Bioeng 111, 504517.
Jenkins, D., Richard, M.G. & Daigger, G.T. (2003). Manual on the Causes and Control of Activated Sludge Bulking, Foaming, and Other Solids Separation Problems. Hoboken, NJ: CRC Press.
Jenné, R., Banadda, E.N., Smets, I., Deurinck, J. & Impe, J. (2007). Detection of filamentous bulking problems: developing an image analysis system for sludge composition monitoring. Microsc Microanal 13, 3641.
Juneau, P.-M., Garnier, A. & Duchesne, C. (2013). Selection and tuning of a fast and simple phase-contrast microscopy image segmentation algorithm for measuring myoblast growth kinetics in an automated manner. Microsc Microanal 19, 855866.
Khan, M.B., Lee, X.Y., Nisar, H., Ng, C.A., Yeap, K.H. & Malik, A.S. (2015 a). Digital image processing and analysis for activated sludge wastewater treatment. Adv Exp Med Biol 823, 227248.
Khan, M.B., Nisar, H., Ng, C.A. & Lo, P.K. (2016). Estimation of sludge volume index (SVI) using bright field activated sludge images. In IEEE International Instrumentation and Measurement Technology Conference, vol. I, pp. 407–411. Taipei, Taiwan: IEEE.
Khan, M.B., Nisar, H., Ng, C.A., Lo, P.K. & Yap, V.V. (2015 b). Local adaptive approach toward segmentation of microscopic images of activated sludge flocs. J Electron Imaging 24, 61102.
Khan, M.B., Nisar, H., Ng, C.A., Lo, P.K. & Yap, V.V. (2017). Generalized classification modeling of activated sludge process based on microscopic image analysis. Environ Technol 39, 2434.
Khan, M.B., Nisar, H., Ng, C.A., Salih, Y. & Malik, A.S. (2014). Segmentation assessment of activated sludge flocs at different magnifications for wastewater treatment. In 2014 IEEE International Conference on Control System, Computing and Engineering (ICCSCE), pp. 592–596. Penang, Malaysia: IEEE.
Kittler, J. & Illingworth, J. (1986). Minimum error thresholding. Pattern Recognit 19, 4147.
Kulkarni, S. (ed.) 2012). Machine Learning Algorithms for Problem Solving in Computational Applications: Intelligent Techniques. Hershey, PA: IGI Global.
Lee, X.Y., Khan, M.B., Nisar, H., Ho, Y.K., Ng, C.A. & Malik, A.S. (2014). Morphological analysis of activated sludge flocs and filaments. In IEEE Instrumentation and Measurement Technology Conference, pp. 1449–1453. Montevideo, Uruguay: IEEE.
Lloyd, S. (1982). Least squares quantization in PCM. IEEE Trans Inf Theory 28, 129137.
The MathWorks, INC. (2015). MATLAB 8.5 R2015A. Natick, MA: The MathWorks, Inc.
Mesquita, D.P., Amaral, A.L. & Fareira, E.C. (2013). Activated sludge characterization through microscopy: A review on quantitative image analysis and chemometric techniques. Anal Chim Acta 802, 1428.
Mesquita, D.P., Amaral, A.L. & Ferreira, E.C. (2016). Estimation of effluent quality parameters from an activated sludge system using quantitative image analysis. Chem Eng J 285, 349357.
Mesquita, D.P., Dias, O., Amaral, A.L. & Ferreira, E.C. (2010). A comparison between bright field and phase-contrast image analysis techniques in activated sludge morphological characterization. Microsc Microanal 16, 166174.
Meyer, F. (1994). Topographic distance and watershed lines. Signal Process 38, 113125.
Otsu, N. (1979). A threshold selection method from gray-level histograms. IEEE Trans Syst Man Cybern 9, 6266.
Pang, J., Özkucur, N., Ren, M., Kaplan, D.L., Levin, M. & Miller, E.L. (2015). Automatic neuron segmentation and neural network analysis method for phase contrast microscopy images. Biomed Opt Express 6, 43954416.
Rand, W.M. (1971). Objective criteria for the evaluation of clustering methods. J Am Stat Assoc 66, 846850.
Shanmugavadivu, P., Sivakumar, V. & Sudhir, R. (2016). Fractal dimension-bound spatio-temporal analysis of digital mammograms. Eur Phys J Spec Top 225, 137146.
Siddiqi, K., Lauziere, Y.B., Tannenbaum, A. & Zucker, S.W. (1998). Area and length minimizing flows for shape segmentation. IEEE Trans Image Process 7, 433443.
Su, H., Yin, Z., Huh, S. & Kanade, T. (2013). Cell segmentation in phase contrast microscopy images via semi-supervised classification over optics-related features. Med Image Anal 17, 746765.
Topman, G., Sharabani-Yosef, O. & Gefen, A. (2011). A method for quick, low-cost automated confluency measurements. Microsc Microanal 17, 915922.
Yin, Z., Kanade, T. & Chen, M. (2016). Understanding the phase contrast optics to restore artifact-free microscopy images for segmentation. Med Image Anal 16, 10471062.


Segmentation Approach Towards Phase-Contrast Microscopic Images of Activated Sludge to Monitor the Wastewater Treatment

  • Muhammad Burhan Khan (a1), Humaira Nisar (a1), Choon Aun Ng (a1), Kim Ho Yeap (a1) and Koon Chun Lai (a1)...


Full text views

Total number of HTML views: 0
Total number of PDF views: 0 *
Loading metrics...

Abstract views

Total abstract views: 0 *
Loading metrics...

* Views captured on Cambridge Core between <date>. This data will be updated every 24 hours.

Usage data cannot currently be displayed