Help please, How to segmentation image of scanned documents

1 回表示 (過去 30 日間)
Andrew Hobbz
Andrew Hobbz 2020 年 5 月 27 日
回答済み: Prasanna 2024 年 9 月 20 日
I am working on segmentation of scanned document images and I need a matlab code.... can anyone give me the code?
Thank you

回答 (1 件)

Prasanna
Prasanna 2024 年 9 月 20 日
Hi Andrew,
It is my understanding that you want more information regarding image segmentation of scanned documents. To perform image segmentation on scanned documents, you can perform the following steps:
  • Preprocess the loaded image by converting it to grayscale, and apply thresholding to convert the image to binary format
  • Perform image segmentation based on pixel intensity and perform morphological operations like imfill, imdilate, etc to clean up the binary image.
  • To identify the dark regions, create a mask for the same in the grayscale image, and display the regions as potential text area.
For more resources on performing image segmentation on scanned document images, refer the following links:
Hope this helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by