Convert points coordinates from camera screen to integer positions (pixels) of image.
2 ビュー (過去 30 日間)
古いコメントを表示
I have to write a function which takes as inputs the size of the camera screen HxW, the size of the canvas MxN and the coordinates of the points with respect to the camera screen and returns as output the coordinates of the points with respect to the image canvas (pixels). My problem is that I really don’t know from where to start and any tip would be really appreciated.
2 件のコメント
Jan
2019 年 5 月 2 日
This sounds like a job for interp1.
Start with writing the function line, which defines inputs and outputs. Explain clearly, what "the coordinates of the points with respect to the camera screen" means - in valid Matlab syntax.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Support Package for IP Cameras についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!