필터 지우기
필터 지우기

How do I select a rectangular region of interest with a hole in it

조회 수: 2 (최근 30일)
Johann Berrangé
Johann Berrangé 2018년 6월 29일
댓글: KARSH THARYANI 2018년 7월 13일

Hi everyone. Can anyone please advise me on how I can select a rectangular region of interest with a hole in on an image, I wan't to do filtering on this area. So basically if you look at the attached image, I want to select the hatched region in the image and only filter that area with a motion blur filter.

Please don't ask me why, I just need a solution because i can't find anything on the web.

답변 (1개)

KARSH THARYANI
KARSH THARYANI 2018년 6월 29일
Given an image, you can make the inner region as zero. Apply the Gaussian (or your motion blur filter). Then, on this image, copy the elements that you made zero.
  댓글 수: 2
Johann Berrangé
Johann Berrangé 2018년 6월 29일
No, there is a specific reason why I cant't do that
KARSH THARYANI
KARSH THARYANI 2018년 7월 13일
May I know that reason, so that I can suggest an appropriate alternative?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by