similar to gaussian filter for color
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/646250/image.png)
0 commentaires
Réponses (1)
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.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!