Info
This question is closed. Reopen it to edit or answer.
How to count how many time a certain pixel has been processed
1 view (last 30 days)
Show older comments
Hi guys!
I have to process an image where i need to know how many times a pixel has been overlapped. The image attached can be used as an example:
In the image the three patches (B1, B2, B3) overlap three times at the position of pixel A_i. Pixel C is only being overlapped by two patches (B1, B2).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249564/image.jpeg)
Programmatically, how do I count how many times a pixel has been overlapped AND know its index? I am going to do this in the whole image.
Thanks!
4 Comments
Walter Roberson
on 23 Nov 2019
With your description, I do not see any reason why 0-18 would not be plausible.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!