5
$\begingroup$

Could some one tell reasons to use the MATLAB imreconstruct function when processing images? I already have studied the topic and what the function actually does to the image. However, I cannot figure what we would use it for. What output should we expect from calling doing this function?

$\endgroup$
2
  • $\begingroup$ It seems the user is not active any more. $\endgroup$
    – Mark
    Commented Feb 20, 2021 at 6:53
  • $\begingroup$ Could you please review my answer? $\endgroup$
    – Royi
    Commented Jun 1, 2022 at 9:02

2 Answers 2

2
$\begingroup$

It could be useful in the field of OCR as a pre processing step.

Think about badly scanned data.
You'd like to convert it into binary image.
So the first step would be applying some kind of thresholding.
Since no thresholding is perfect, There will be some "Holes" / "Gaps" within the text.

Closing those "Holes" / "Gaps" can be done using morphological operations.

See example here: StackOverlfow - Adaptive Thresholding - Implementation of the Minimum Error Thresholding Method.

$\endgroup$
0
$\begingroup$

Look at MathWorks - Technical Articles and Newsletters - Morphological Reconstruction and MATLAB Digest | Academic Edition - Morphological Reconstruction.

Some applications are scanned text document (OCR as mentioned previously), fluorescently stained cell nuclei, or galaxies in a far-infrared telescope image. It can be used for extract marked objects, find bright regions surrounded by dark pixels, detect or remove objects touching the image border, detect or fill in object holes, filter out spurious high or low points, and perform many other operations.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.