separating two different objects in an image
조회 수: 1 (최근 30일)
이전 댓글 표시
Hey guys I have an image having completely black background and white foreground. I have done motion detection in which I have got a man and a car as moving objects and after applying thresholding and doing some processing on image i have got black background and man and car outlines as white. Now I want to separate man and car by drawing two separate rectangles around them. I am nt getting hw to do that plz help me.
댓글 수: 0
채택된 답변
Sean de Wolski
2011년 3월 31일
Use bwconncomp and regionprops to find the bounding box of each object and then set its edges to the color of your choice.
추가 답변 (1개)
Mohsin Khan
2011년 4월 9일
i have also this problem sir, but i want to extract it as a seperate image each face rectangle, please help me as soon as possible.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!