A dual-constrained watershed algorithm for bean particle segmentation and sizing

Licheng ZHUANG , Boang GE , Jun HU , Yiheng SONG , Sheng LIU

Journal of Measurement Science and Instrumentation ›› 2025, Vol. 16 ›› Issue (4) : 526 -536.

PDF (4238KB)
Journal of Measurement Science and Instrumentation ›› 2025, Vol. 16 ›› Issue (4) :526 -536. DOI: 10.62756/jmsi.1674-8042.2025051
Signal and image processing technology
research-article

A dual-constrained watershed algorithm for bean particle segmentation and sizing

Author information +
History +
PDF (4238KB)

Abstract

Accurate measurement of bean particle size is essential for automated grading and quality control in agricultural processing. However, existing image segmentation methods often suffer from low efficiency, over-segmentation, and high computational cost. We proposed a distance-gradient dual constrained watershed algorithm for precise segmentation and measurement of bean particles. The method integrated distance transform-based seed extraction with gradient-constrained flooding, effectively suppressing noise-induced region fragmentation and improving the separation of adherent particles. An experimental platform was constructed using an industrial camera and an image-processing pipeline to evaluate performance. Compared with the conventional watershed algorithm, the proposed method improves segmentation accuracy by 7.2% and reduces the mean particle size error by 27.8% (0.13 mm, representing a relative error of 2.4%). Validation on three soybean varieties confirmed the robustness and generalizability of the approach. The results indicated that the proposed algorithm provided an efficient and accurate technique for agricultural particle size analysis, offering potential for integration into practical low-cost inspection systems.

Keywords

distance-gradient dual constraint watershed algorithm / machine vision inspection system / particle size sorting / precision agriculture / metrology

Cite this article

Download citation ▾
Licheng ZHUANG, Boang GE, Jun HU, Yiheng SONG, Sheng LIU. A dual-constrained watershed algorithm for bean particle segmentation and sizing. Journal of Measurement Science and Instrumentation, 2025, 16(4): 526-536 DOI:10.62756/jmsi.1674-8042.2025051

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

ALVES A K S, ARAÚJO M S, CHAVES S F S, et al. High throughput phenotyping in soybean breeding using RGB image vegetation indices based on drone. Scientific Reports, 2024, 14: 32055.

[2]

WANG J L, HE J L, HAN Y, et al. An Adaptive Thresholding algorithm of field leaf image. Computers and Electronics in Agriculture, 2013, 96: 23-39.

[3]

WANG Q F, CHENG M, XIAO X P, et al. An image segmentation method based on deep learning for damage assessment of the invasive weed Solanum rostratum Dunal. Computers and Electronics in Agriculture, 2021, 188: 106320.

[4]

ZHU L L, SPACHOS P, PENSINI E, et al. Deep learning and machine vision for food processing: a survey. Current Research in Food Science, 2021, 4: 233-249.

[5]

JIA H M, SU Y Y, RAO H H, et al. Improved artificial rabbits algorithm for global optimization and multi-level thresholding color image segmentation. Artificial Intelligence Review, 2024, 58(2): 55.

[6]

TAN C, JIANG Y, LI Q, et al. Computed tomography point cloud segmentation of complex industrial components via structural features and region growing algorithm. Measurement, 2026, 257(PB): 118742-118742.

[7]

WANG X C, WU X L, DING G H, et al. Analysis of grain yield differences among soybean cultivars under maize-soybean intercropping. Agronomy, 2020, 10(1): 110.

[8]

KUMAR M, CHANDEL N S, SINGH D, et al. Soybean disease detection and segmentation based on mask-RCNN algorithm. Journal of Experimental Agriculture International, 2023, 45(5): 63-72.

[9]

WU Y Y, LI Q. The algorithm of watershed color image segmentation based on morphological gradient. Sensors, 2022, 22(21): 8202.

[10]

LIU H Q, ZHANG W J, WANG F S, et al. Application of an improved watershed algorithm based on distance map reconstruction in bean image segmentation. Heliyon, 2023, 9(4): e15097.

[11]

GUO Q P, WANG Y C, YANG S J, et al. A method of blasted rock image segmentation based on improved watershed algorithm. Scientific Reports, 2022, 12: 7143.

[12]

WOLF S, SCHOTT L, KÖTHE U, et al. Learned watershed: end-to-end learning of seeded segmentation//2017 IEEE International Conference on Computer Vision, October 22-29, 2017, Venice, Italy. New York: IEEE, 2017: 2030-2038.

[13]

LUX F, MATULA P. Cell segmentation by combining marker-controlled watershed and deep learning. arXiv preprint arXiv:2004.01607, 2020.

[14]

LIU S X, CHEN D J, PLUMIER B, et al. Impact of particle size fractions on composition, antioxidant activities, and functional properties of soybean hulls. Journal of Food Measurement and Characterization, 2021, 15(2): 1547-1562.

[15]

AGUILAR-GONZÁLEZ A, MEDINA SANTIAGO A, OROZCO TORRES J A, et al. TurboPixels: a superpixel segmentation algorithm suitable for real-time embedded applications. Applied Sciences, 2024, 14(24): 11912.

[16]

ZHANG Y W, LI W, LIN Y H, et al. Construction of a high-density genetic map and mapping of QTLs for soybean (Glycine max) agronomic and seed quality traits by specific length amplified fragment sequencing. BMC Genomics, 2018, 19(1): 641.

[17]

LIU Y, ZHANG Y W, WANG Y. Application of deep learning-based image processing in emotion recognition and psychological therapy. Traitement Du Signal, 2024, 41(6): 2923-2933.

[18]

XU J J, LU Y Z, DENG B Y. OpenWeedGUI: an open-source graphical tool for weed imaging and YOLO-based weed detection. Electronics, 2024, 13(9): 1699.

[19]

SINHA S, NETHI A, JETTA M. Multiplicative Gaussian noise removal using partial differential equations and activation functions: a robust and stable approach//7th International Conference on Algorithms, Computing and Systems, Larissa Greece. New York: ACM, 2023: 161-170.

[20]

SILVA-BLANCAS V H, JIMÉNEZ-HERNÁNDEZ H, HERRERA-NAVARRO A M, et al. A clustering and PL/SQL-based method for assessing MLP-kmeans modeling. Computers, 2024, 13(6): 149.

[21]

CHINNAKANNAN N, NALLAMUTHU P. Using KMeans clustering to evaluate and alert for deviations of linac photon beam parameters. Asian Pacific Journal of Cancer Prevention, 2024, 25(1): 305-315.

[22]

MOSTAFA R R, HOUSSEIN E H, HUSSIEN A G, et al. An enhanced chameleon swarm algorithm for global optimization and multi-level thresholding medical image segmentation. Neural Computing and Applications, 2024, 36(15): 8775-8823.

[23]

OLLE OLLE D G, ZOOBO BISSE J, ABESSOLO ALO'O G. Application and comparison of K-means and PCA based segmentation models for Alzheimer disease detection using MRI. Discover Artificial Intelligence, 2024, 4(1): 11.

[24]

SHYAMALA N, MAHABOOBBASHA S. Watershed algorithm with YOLO: A hybrid approach for brain tumor identification and segmentation. Journal of Physics: Conference Series, 2025, 3038(1): 012009.

[25]

ZHAO Z, LI B, KANG X Q, et al. Hybrid image segmentation method based on anisotropic Gaussian kernels and adjacent graph region merging. The Review of Scientific Instruments, 2020, 91(1): 015104.

[26]

BALASUBARAMANIAN S, SHAN M A. Restricted Boltzmann machine with Sobel filter dense adversarial noise secured layer framework for flower species recognition. Scientific Reports, 2025, 15(1): 1-30.

[27]

FURAT O, KIRSTEIN T, LEIßNER T, et al. Multidimensional characterization of particle morphology and mineralogical composition using CT data and R-vine copulas. Minerals Engineering, 2024, 206: 108520.

[28]

SINKHONDE D. Major and minor elliptical axes and bounding rectangle dimensions in clay brick powder particles from changing milling conditions. Cleaner Waste Systems, 2023, 6: 100123.

PDF (4238KB)

62

Accesses

0

Citation

Detail

Sections
Recommended

/