Filter löschen
Filter löschen

hwo to normalise the points with matlab command

1 Ansicht (letzte 30 Tage)
praveen rai
praveen rai am 22 Sep. 2017
Kommentiert: Star Strider am 25 Sep. 2017
i am using this command for normalising -[p1,t1] = Normalise2DPts(p1); [p2,t2] = Normalise2DPts(p2); when i am running this in matlab it gives me this error- Undefined function or variable 'Normalise2DPts' can any one help me what command should i use or i am doing error p1 and p2 are p1 and p2 are 2xN matrix
  3 Kommentare
praveen rai
praveen rai am 25 Sep. 2017
https://in.mathworks.com/matlabcentral/fileexchange/47032-camera-geometry-algorithms?focused=3822623&tab=function in this link there is code from where i copied
Star Strider
Star Strider am 25 Sep. 2017
See my Answer for relevant details.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Star Strider
Star Strider am 22 Sep. 2017
The function you want is in the File Exchange: normalise2dpts(pts) (link). You can download it through the linked page.
Also, MATLAB is case sensitive, so you will have to call it as:
[p2,t2] = normalise2dpts(p2);
  3 Kommentare
José-Luis
José-Luis am 22 Sep. 2017
Bearbeitet: José-Luis am 22 Sep. 2017
Are you running it from the folder you downloaded it to? Did you add that folder to the path?
Star Strider
Star Strider am 22 Sep. 2017
You have to download it and copy it to your MATLAB user path. In Windows, this is: ‘C:\Users\-UserName-\Documents\MATLAB\’. Then you should be able to use it.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by