MATLAB Answers

i have the mask of the border now i need to remove the border in the original image how can i do it?

12 views (last 30 days)
Pradeep Gowda
Pradeep Gowda on 17 Sep 2015
Commented: Pradeep Gowda on 17 Sep 2015
  2 Comments

Sign in to comment.

Answers (1)

Tim Jackman
Tim Jackman on 17 Sep 2015
Without knowing what you mean precisely when you say "border of the original image" I'd try using imerode to peel away layers of your mask that would equal the thickness of the border. Then multiply the eroded mask with your image to remove the border. Hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by