Operácie

Robotic Vision

Zo stránky SensorWiki

Verzia z 22:31, 21. november 2015, ktorú vytvoril Balogh (diskusia | príspevky) (Vytvorená stránka „Support page to the MOOC Course by Peter Corke == Matlab code == <source lang="matlab"> im = iread('/path/to/image.jpg'); idisp(im); // special display for the cours...“)
(rozdiel) ← Staršia verzia | Aktuálna úprava (rozdiel) | Novšia verzia → (rozdiel)

Support page to the MOOC Course by Peter Corke

Matlab code

 im = iread('/path/to/image.jpg');
 idisp(im); // special display for the course from the vision package

Compare this

a = 100;
b = 200;

a+b
a-b 
a/b

a = uint8(100);
b = uint8(200);

a+b
a-b 
a/b

Getting an image from videocamera. Grab and display a image from the camera.

 cam = VideoCamera(0);
 im = cam.grab();
 clear cam // In order to turn the camera off, use the clear function.