For a Trimap, how do to calculate the number of pixels in background, foreground and unknown region?

1 次查看(过去 30 天)
Hi all,
I have attached a trimap image on which i am working. I need to determine the number of pixels which are definitely background, definitely foreground and in the unknown region. Can anyone help?
Thanks
  1 个评论
Image Analyst
Image Analyst 2014-1-18
I never heard of a trimap. You forgot to attach your image. Please define what parts of your image (once we can actually see it) are foreground, background, and unknown.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by