Hello, i want the difference between 2 image and get this difference this picture show what i want

댓글 수: 3

Walter Roberson
Walter Roberson 2015년 12월 6일
It looks to me that you do not just want a simple difference of images: it appears that you want to do a stereo reconstruction.
Image Analyst
Image Analyst 2015년 12월 6일
Yes but there's much more required. For example, why does it get a standing person and not the chair or other things in the room? I suspect this is from a paper so you'd have to follow the directions in the paper rather than ask us.
Walter Roberson
Walter Roberson 2015년 12월 6일
Unless this is two examples of obtaining the difference of two images, with there being two constant-background images available that are not shown here?

댓글을 달려면 로그인하십시오.

 채택된 답변

Dima Lisin
Dima Lisin 2015년 12월 7일

0 개 추천

What you are looking for is background subtraction. It is not really as simple as taking the difference between the two images. If you have a video taken with a stationary camera, then you can detect moving objects using the vision.ForegroundDetector object from the Computer Vision System Toolbox. See the Motion-based Multiple Object Tracking Example for more information.

댓글 수: 4

samer mahmoud
samer mahmoud 2015년 12월 7일
thnx dima but you have any code ?
Walter Roberson
Walter Roberson 2015년 12월 7일
Dima linked to a code example.
samer mahmoud
samer mahmoud 2015년 12월 7일
walter i want read i video and detect the difference between frames
Walter Roberson
Walter Roberson 2015년 12월 7일
That is what that example code does. Look at the example code setupSystemObjects() and see how it uses a vision video file reader to open a video file.
The example code detects the differences between frames and uses them to track moving objects.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

질문:

2015년 12월 6일

댓글:

2015년 12월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by