similar to gaussian filter for color
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Surabhi KS
el 10 de Jun. de 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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!