
Reading an Image From a Movie File
lesson
We store movies in files, typically in an MPEG format. Let’s look at what’s inside one of those movie files, and how we can grab a frame from a movie as an image and put it into the MATLAB workspace.
lesson
We store movies in files, typically in an MPEG format. Let’s look at what’s inside one of those movie files, and how we can grab a frame from a movie as an image and put it into the MATLAB workspace.
lesson
If we want to process images the first thing we need to do is to read an image into MATLAB as a variable in the workspace. What kind of variable is an image? How can we see the image inside a variable? How do we refer to to individual pixels within an image.
lesson
Most of us have lots of digital images captured using cameras or phones. Each image comprises millions of picture elements or pixels. The images are stored in files, typically in JPEG format, and we’ll see what’s inside one of these files.
lesson
We learn how to describe the orientation of an object by a 2×2 rotation matrix which has some special properties. Try your hand at some online MATLAB problems. You’ll need to watch all the 2D “Spatial Maths” lessons to complete the problem set.
lesson
We consider the simplest possible robot, which has one rotary joint and an arm.
lesson
Let’s look at numerical approaches to inverse kinematics for a couple of different robots and learn some of the important considerations. For RTB10.x please note that the mask value must be explicitly preceded by the ‘mask’ keyword. For example: >> q = p2.ikine(T, [-1 -1], ‘mask’, [1 1 0 0 0 0])
lesson
We learn a method for succinctly describing the structure of a serial-link manipulator in terms of its Denavit-Hartenberg parameters, a widely used notation in robotics.
lesson
We learn to compute a trajectory that involves simultaneous smooth motion of many robot joints.
lesson
Time varying coordinate frames are required to describe how the end-effector of a robot should move to grab an object, or to describe objects that are moving in the world. We make an important distinction between a path and a trajectory.
lesson
The orientation of a body in 3D can also be described by a unit-Quaternion, an unusual but very useful mathematical object. In the MATLAB example starting at 3:48 I use the Quaternion class. For Toolbox version 10 (2017) please use UnitQuaternion instead.