How to set the correct Player location ??

Hello. I am following the guideline below.
https://kr.mathworks.com/help/vision/examples/depth-estimation-from-stereo-video.html
I used stereo camera calibrator and export camera parameters. and I copy and paste the commend from the link.
Question 1. Regarding 'create video file readers and the video player',
player = vision.DeployableVideoPlayer('Location', [20,400]);
What is the meaning of the [20,400]??
Qeustion2. Regarding the 'Read and Rectify Video Frames', I copy and paste this part but I got an part of the rectified video frames. I can not see the original size rectified video frames. I guess it should be related with the ('location ,[20, 400]') or stereo calibration step..
Please help ..

3 commentaires

soyoung shin
soyoung shin le 30 Jan 2017
soyoung shin
soyoung shin le 30 Jan 2017
Modifié(e) : soyoung shin le 30 Jan 2017
Why the rectified video frames size is ... so small????
soyoung shin
soyoung shin le 30 Jan 2017

Connectez-vous pour commenter.

 Réponse acceptée

Walter Roberson
Walter Roberson le 30 Jan 2017

0 votes

Location is the place to position the bottom left corner of the player, in pixels, from the bottom left of the screen. The default is to put it in the middle of the screen

6 commentaires

soyoung shin
soyoung shin le 30 Jan 2017
Modifié(e) : soyoung shin le 30 Jan 2017
Thank you for your reply!
Then, in my case, should I put like this?
[-60000, 150000]
I am not clear.. please help.. Also, I don't know why the rectified video frame size is so small...
Walter Roberson
Walter Roberson le 30 Jan 2017
-60000 would put it somewhere around 130 metres to the left of your screen.
Either leave out the option or use 0 0 for now
soyoung shin
soyoung shin le 30 Jan 2017
I am really sorry........I can not understand.. what you mentioned..could you please answer me more clearly... so sorry....
Walter Roberson
Walter Roberson le 30 Jan 2017
player = vision.DeployableVideoPlayer('Location', [0,0]);
soyoung shin
soyoung shin le 30 Jan 2017
Thank you so much for your answer. However, I still have a very small Rectified Video Frames... Do you know how to solve this??
Walter Roberson
Walter Roberson le 30 Jan 2017
Sorry I do not know how to solve that.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by