How can I create a variable changing with index number?
Show older comments
how can I create a variable N such that it's value changing with the index and then do the summation, i.e:
∑_Ni from i=0 to i=255 ,
where Ni is the number of pixels that have intensity value Ri
For knowledge, I have an image with its histogram.
Accepted Answer
More Answers (0)
Categories
Find more on Image Filtering and Enhancement 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!