Robotic Vision
Zo stránky SensorWiki
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.