ENCMP100 Study Guide - Final Guide: Matlab, Logical Matrix

82 views5 pages

Document Summary

Examples to show how to alter images using matlab. Simple tasks like rotating, cut portions, resize, etc. How to apply those values to create a mask. How to use a mask to merge two images (replace pixels from one image with pixels from the other image) A new matrix created with half of the pixels in the rows and half of the pixels in the columns. The third element is the pages, all of them are kept because we want to keep all the colors. Holds the current plot and all axis properties, including the current color and line style, so that subsequent graphing commands add to the existing graph without resetting the color and line style. Returns to the default mode whereby plot commands erase the previous plots and reset all axis properties before drawing new plots. Identify values of pixels that should be replaced.