Background and Foreground separation.
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I try to separate the foreground and background picture. The picture is two people are standing by the sea. How to separate the back ground and foreground. I use the color threshold but I got confused.Please help me out.
4 Kommentare
Image Analyst
am 15 Jun. 2020
And what is background and what is foreground? The beach, the sea, the people, the sky?
Antworten (1)
Image Analyst
am 28 Jun. 2020
Try this to mask your image
% Mask the image using bsxfun() function to multiply the mask by each channel individually. Works for gray scale as well as RGB Color images.
maskedRgbImage = bsxfun(@times, rgbImage, cast(mask, 'like', rgbImage));
Siehe auch
Kategorien
Mehr zu Image Processing and Computer Vision finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!