Effacer les filtres
Effacer les filtres

similar to gaussian filter for color

1 vue (au cours des 30 derniers jours)
Kasra Sadatsharifi
Kasra Sadatsharifi le 8 Juin 2021
Hi everybody,
I am trying to find a way to convolve a filter that highlights the color red in the image attached below. I am trying to find a filter similar to gaussian filter to highlight the red square. I don't want to simply threshold the color though. It has to be filtered to create a red center with red halo around it. Does anybody know such a filter or how to built one? if you have a link to paper or something that would help more actually.
Thanks in advance

Réponses (1)

Surabhi KS
Surabhi KS le 10 Juin 2021
You could try this:
Threshold the image to obtain the red rectangle, locate the center through centroid detection and define a matrix for the area of the rectangle (one side i.e. square) with a gaussian distribution with the mean and stdev of your choice.

Community Treasure Hunt

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

Start Hunting!

Translated by