Search found 5 matches

by echinotrix
2013-08-20T03:00:11-07:00
Forum: Users
Topic: [[SOLVED]] Count pixels with distinct neighborhood
Replies: 11
Views: 8130

Re: Count pixels with distinct neighborhood

Works like a charm.

Thanks again.

P.S.: How can I mark the thread as solved?
by echinotrix
2013-08-20T01:26:39-07:00
Forum: Users
Topic: [[SOLVED]] Count pixels with distinct neighborhood
Replies: 11
Views: 8130

Re: Count pixels with distinct neighborhood

Thanks everybody, perfect.

I'll give it a try and report.

Great forum!
by echinotrix
2013-08-20T00:50:37-07:00
Forum: Users
Topic: [[SOLVED]] Count pixels with distinct neighborhood
Replies: 11
Views: 8130

Re: Count pixels with distinct neighborhood

Sorry for the confusion, actually I wanted to clarify what I mean ;) The yellow pixels in the first image are the (black) pixels that are counted. The yellow line in the second image represents the edges to count. However, I think your second solution is nearly what I want: counting black pixels tha...
by echinotrix
2013-08-19T23:21:37-07:00
Forum: Users
Topic: [[SOLVED]] Count pixels with distinct neighborhood
Replies: 11
Views: 8130

Re: Count pixels with distinct neighborhood

Thanks for your help so far. -morphology gives me just what I asked for: an approximation for the perimeter of a black area on a white background. Here is a sample image: https://dl.dropboxusercontent.com/u/1534347/Bergahorn_2.png However, counting black pixels with >=1 white neighbor it is just an ...
by echinotrix
2013-08-18T23:24:45-07:00
Forum: Users
Topic: [[SOLVED]] Count pixels with distinct neighborhood
Replies: 11
Views: 8130

[[SOLVED]] Count pixels with distinct neighborhood

Dear Forum Members, after searching for many hours both here and everywhere, I decided to ask for help in the forum. In a binary black-and-white image, I want to count the number of black pixels that have one or more white pixels in its direct neighborhood (8 surrounding pixels). This shall serve as...