Average value of the white areas in the image

1 次查看(过去 30 天)
I have an image which has 13*11 bright spots(actually squares) I need to find the average value of the spots. I need 13*11 values from this single image. How can I do it?
  3 个评论
Adam
Adam 2020-2-19
It's not a clearly defined problem. For example, you could simply threshold the image to give a mask containing only those points with R, G and B values above 0.9 (or 0.8 or whatever threshold you choose) and then simply take the mean of all those points.
Varun Meeniga
Varun Meeniga 2020-2-19
I have marked some white blobs. I want the average value of the selected region. As such I want 11*13 values. Some blobs aren't there because the object covered them.
I also gave the image I took. Basically I'm doing dual photography (https://graphics.stanford.edu/papers/dual_photography/)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by