How I can compare one pixel to a neighbor pixel and also another pixel?
1 view (last 30 days)
Show older comments
Also, how I can make a difference histogram of the comparison results? Or how I can make a difference histogram generally?
0 Comments
Accepted Answer
Image Analyst
on 14 Jan 2013
How do you want to compare them? Do you want to subtract them? If so you can use conv2(). Do you want to know how many times one gray level occurs next to another gray level? If so you can use graycomatrix().
13 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!