Clear Filters
Clear Filters

Edge detection and reconstruction of an image..

2 views (last 30 days)
Is there any proper way to reconstruct the edges using MATLAB or any proper algorithm ?

Answers (1)

Image Analyst
Image Analyst on 5 Apr 2017
You'll have to explain more. What happened to the edges such that they need "reconstruction"? What did you do to them? If you got them once, then why can't you just do the same operations to get them again?
  4 Comments
Piyum Rangana
Piyum Rangana on 22 Apr 2017
Edited: Piyum Rangana on 20 May 2017
Thanks. With the help of the answers of previous questions, I fill the degraded area as I mention below. But in some scenarios like ROIs with Boundaries/edges, I fail to output a good solution. That's why I thought to use above way to inpaint those kind of regions. How ever I am still struggling with find the two points of each side to reconstruct the boundary/ edge of the ROI. Now my inpainted image as below.
Image Analyst
Image Analyst on 22 Apr 2017
Yes, it looks fake, that's why I previously suggested regionfill() which smears in the color from the outer perimeter towards the center of the image. It still doesn't get the texture correct, but at least it's better than a uniform patch of a color that may not even exist in the original image.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!