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