O'Reilly logo

Visual Media Processing Using MATLAB Beginner's Guide by George Siogkas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – restoring your ancestors' photographs

First off, let me introduce you to my great-grandmother, whose picture will be used for restoration tasks. Of course, you can use your own ancestors' photographs. The following steps will help you restore your old photographs:

  1. Read and show the image in the usual manner, checking also its size:
    >> ggm = imread('grandma.bmp');
    >> imshow(ggm)
    >> size(ggm)
    Time for action – restoring your ancestors' photographs
  2. Unfortunately, this image has two disadvantages; it is very large (2048 x 1536) and also it is in color (last dimension in size is equal to 3). So, let's try to make our lives a little easier for the time being, by resizing the image and transforming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required