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

1 view (last 30 days)
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 Comment
Image Analyst
Image Analyst on 18 Jan 2014
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.

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!