フィルターのクリア

Convert points coordinates from camera screen to integer positions (pixels) of image.

1 回表示 (過去 30 日間)
Teo Protoulis
Teo Protoulis 2019 年 5 月 1 日
コメント済み: Jan 2019 年 5 月 2 日
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 件のコメント
darova
darova 2019 年 5 月 2 日
Start from scale i think
Jan
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 ExchangeMATLAB Support Package for IP Cameras についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by