Help please, How to segmentation image of scanned documents

1 visualización (últimos 30 días)
Andrew Hobbz
Andrew Hobbz el 27 de Mayo de 2020
Respondida: Prasanna el 20 de Sept. de 2024
I am working on segmentation of scanned document images and I need a matlab code.... can anyone give me the code?
Thank you

Respuestas (1)

Prasanna
Prasanna el 20 de Sept. de 2024
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