![]() So this is very beneficial when you do things like linear algebra, or in our case, image processing, where every image is essentially a matrix. So in this case, the variable a is a single value 3, but it's a one-by-one matrix. MATLAB essentially treats all of the variables as though they're matrices or two-dimensional arrays. But more importantly, if I double click on this, you'll see something interesting. And this is where you can store them you can work and perform operations on them. And if I double click to open this up, you'll see here the variables I created, a equals 3, b and so on. And so nothing very complex-we have the answer, 15.īut what I wanted to point out is the fact that MATLAB stores all of these variables in the workspace. And we can create another variable c and set that equal to a times b. For example, you can start assigning some variables, such as a equals 3, b equals 5. Here at the command window, this is a great place where you can start interacting with the environment. And for those of you who are new to the environment, I'll go over the different features as we come across them throughout the demonstration. So in the end, we're going to see how we put this entire application together. And on the right-hand side, you see our intruder highlighted in red. Here's our reference image with no intruder. If you look here, this is actually the application running with a nice user interface. So let me give you a preview of what we'll be building. And then finally, we're going to work with live video. We're going to publish reports to help share the algorithm. We're going to work first with static images. Using MATLAB and Image Processing Toolbox we're going to explore images to create and share this application. The goal of this demonstration today is to build an intruder detection system. So what I'm going to show you in this session is that MATLAB lends itself very well to this kind of workflow. You're usually moving between these different phases, increasing the sizes of your datasets, doing more development, refining the algorithm and application, sharing the results, getting feedback, and then again doing more refinement. ![]() So although I've shown this as a linear path, in reality this is an iterative path. You're going to share your algorithms with either co-workers in the form of reports and documentation, or maybe in the form of outputs such as C files, libraries, things that can be consumed by other third-party applications. This is where you're going to do a lot of algorithm development and do things like graphing, finding trends, and developing your application. Once you acquire data, you're then going to enter in what we call the exploration and discovery phase. And this can come in the form of files, maybe output from third-party software, maybe even hardware. Traditionally, you'll start with accessing data. So let's take a step back and talk about a typical technical computing workflow. And also, it allows you to do algorithm development and programming, and finally application deployment. This allows you the ability to do scripting, to do numerical computation, to do visualization like you see on the right-hand side, using plots and a lot of different type of graphing tools. But more than that, it's also a full interactive development environment. MATLAB is essentially a high-level language. But before we get started, let's go ahead and talk about MATLAB a little bit. ![]() In this session, we're going to give you an introduction to MATLAB by using an image processing example. My name is Andy The, and I'm a product marketing manager at MathWorks. ![]() Hello, and welcome to the introduction to MATLAB. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |