How do I select a rectangular region of interest with a hole in it
Afficher commentaires plus anciens
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 commentaire
KARSH THARYANI
le 29 Juin 2018
Can you use the image processing toolbox?
Réponses (1)
KARSH THARYANI
le 29 Juin 2018
0 votes
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 commentaires
Johann Berrangé
le 29 Juin 2018
KARSH THARYANI
le 13 Juil 2018
May I know that reason, so that I can suggest an appropriate alternative?
Catégories
En savoir plus sur ROI-Based Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!