Visual Media Processing Using MATLAB Beginner's Guide


Visual Media Processing Using MATLAB Beginner's Guide
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.49
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Apply sophisticated techniques to images and videos in just a few steps
  • Learn and practice techniques for enhancing and restoring your photographs
  • Create artistic photographs using simple methods

Book Details

Language : English
Paperback : 334 pages [ 235mm x 191mm ]
Release Date : September 2013
ISBN : 1849697205
ISBN 13 : 9781849697200
Author(s) : George Siogkas
Topics and Technologies : All Books, Big Data and Business Intelligence, Data, Other, Beginner's Guides

Table of Contents

Preface
Chapter 1: Basic Image Manipulations
Chapter 2: Working with Pixels In Grayscale Images
Chapter 3: Morphological Operations and Object Analysis
Chapter 4: Working with Color Images
Chapter 5: 2-Dimensional Image Filtering
Chapter 6: Mixing Images for Science or Art
Chapter 7: Adding Motion – From Static Images to Digital Videos
Chapter 8: Acquiring and Processing Videos
Chapter 9: Spatiotemporal Video Processing
Chapter 10: From Beginner to Expert – Handling Motion and 3-D
Appendix: Pop Quiz Answers
Index
  • Chapter 1: Basic Image Manipulations
    • Getting acquainted with the MATLAB environment
      • Default subwindows of the environment
        • The Command Window
        • The Current Folder window
        • The Details window
        • The Workspace window
    • The ribbon
      • The HOME tab
      • The PLOTS tab
      • The APPS tab
    • The editor
      • The EDITOR window
    • Importing and displaying an image
      • Importing and displaying an image using the command line
    • Time for action – importing and displaying an image
      • Importing and displaying an image using imtool
    • Time for action – using imtool to extract useful information
    • Applying geometric transformations
      • Performing image rotation
    • Time for action – rotating an image and displaying the result
      • Performing image mirroring
    • Time for action – mirroring an image and displaying the result
      • Resizing an image
      • Cropping an image
      • Saving an image
    • Time for action – cropping and resizing an image, then saving it as BMP
    • Summary
    • Chapter 2: Working with Pixels In Grayscale Images
      • Accessing image pixels and changing their values
        • Changing the pixel values of a square area using loops
        • Changing the pixel values of a square area using indexing
        • Writing and using scripts
      • Time for action – whiten an area and blacken another
      • Thresholding an image
        • Image thresholding using for loops
        • Image thresholding using indexing
        • Image thresholding using im2bw
        • Image thresholding using an automatic threshold
      • Calculating and displaying histograms with imhist
      • Histogram equalization for contrast enhancement
      • Contrasting enhancement using imadjust
      • Contrasting enhancement using imcontrast
      • Adaptive histogram equalization using adapthisteq
      • Custom functions for complex tasks
      • Time for action – using imtool to pinpoint differences
      • Restoring old photographs
      • Time for action – restoring your ancestors' photographs
      • Summary
      • Chapter 3: Morphological Operations and Object Analysis
        • The importance of binary images
        • Time for action – understanding the value of thresholding
        • Enlarging and shrinking a region of interest
        • Time for action – using dilation and erosion to refine ROIs
          • Choosing a structuring element
          • Using strel to generate structuring elements
        • Altering structuring elements from strel to suit our needs
        • Time for action – ROI refinement using strel
          • More morphological operations
      • Manually defining a non-rectangular ROI
        • Using roipoly to make a mask
        • Using imfreehand to make a mask
      • Time for action – making a custom object eraser function
      • Analyzing objects in an image
        • Detecting edges in an image
        • Detecting corners in an image
        • Detecting circles in an image
      • Summary
        • Chapter 4: Working with Color Images
          • An introduction to color image processing
          • Basic color image manipulations
          • Setting a rectangular area to a specified color
          • Time for action – repainting two areas in a color image
          • Thresholding color images
          • Time for action – isolating the red pixels in an image
          • Achieving color masking
          • Time for action – color isolation
          • The importance of different color spaces
          • Time for action – color space transformation
          • CIE-L*a*b* for more efficient color masking
          • Time for action – color isolation using CIE-L*a*b*
          • Fixing illumination issues in RGB color images
          • Fixing illumination issues in CIE-L*a*b*
          • A practical example – red eye reduction
          • Time for action – writing a function for red eye reduction
          • Taking advantage of eye circularity
          • Time for action – automating our function for red eye reduction
          • Summary
          • Chapter 5: 2-Dimensional Image Filtering
            • An introduction to image filtering
            • Processing neighborhoods of pixels
            • The basics of convolution
            • The ugly mathematical truth
            • Time for action – applying averaging filters in images
            • Alternatives to convolution
            • Using imfilter
            • Creating filters with fspecial
            • Different ways to blur an image
            • Time for action – how much blurring is enough
            • Time to make art using blurring
            • Time for action – creating the bokeh effect in an image
            • Removing noise using blurring
            • Time for action – trying to remove different types of noise
            • The importance of the median filter
            • Time for action – removing salt & pepper with medfilt2
            • Bringing back the details
            • Time for action – enhancing the edges in our images
            • Brighten up the lights
            • Time for action – brighten up the lights in our soldier picture
            • Summary
            • Chapter 6: Mixing Images for Science or Art
              • The importance of mixing or combining images
              • Using multispectral imaging
              • Loading and manipulating the multispectral images
              • Time for action – visible spectrum from a multiband image of Rio
              • Time for action – working with invisible spectrums
              • Creating composite images
                • Using imfuse to create a composite image
                • Using imshowpair to inspect a composite image
              • Time for action – cloning the seagull
              • One step beyond – blending selected image regions
              • Time for action – directing a threatening scene
              • Creating High Dynamic Range images
              • Time for action – composing your own HDR images
              • Stitching images for the creation of panoramas
              • Time for action – basic approach to panorama stitching
              • Summary
              • Chapter 7: Adding Motion – From Static Images to Digital Videos
                • An introduction to digital videos
                • The meaning of frames
                  • Interlaced versus progressive
                  • Frame rates and their importance
                  • Calculating number of frames
                  • Some thoughts on choosing frame rates
                • Loading videos in MATLAB
                  • Loading videos with aviread
                  • Loading videos with mmreader
                  • Loading videos with VideoReader
                  • Choosing which function to use for video reading
                • Playing back videos in MATLAB
                • Time for action – reading and playing back a video
                • Making videos from static images
                • Time for action – constructing and saving a video
                • Inspecting a video using montage
                • Time for action – don't wait for the ball
                • A tool just for your playback needs – implay
                  • Using the GUI of implay
                  • Using implay to play a video file
                  • Using implay to play an image sequence
                • Creating time-lapse videos
                • Time for action – time-lapsing a regular video
                • Saving your time-lapse videos in a gif file
                • Summary
                • Chapter 8: Acquiring and Processing Videos
                  • Using MATLAB for digital video recording
                    • The Hardware Browser window
                    • The Information window
                    • The Desktop Help window
                    • The Preview window
                    • The Acquisition Parameters window
                      • The General tab
                      • The Device Properties tab
                      • The Logging tab
                      • The Triggering tab
                      • The Region of Interest tab
                    • The Session Log window
                  • Time for action – capturing a video using a firewire connection
                  • The importance of video compression
                    • Checking the size of an uncompressed video
                    • Checking the size of an MP4 video without any motion
                    • Checking the size of an MP4 video with high motion
                  • Working with uncompressed videos
                    • Working with large videos in postproduction
                  • Time for action – making an edge detection video
                  • Acquiring frames for time-lapse videos
                    • Detecting your acquisition hardware
                    • Creating a video object and acquiring a frame
                  • Time for action – using MATLAB as an intervalometer
                  • Real-time processing of time-lapse videos
                  • Time for action – creating time-lapses with isolated colors
                  • Real-time processing of normal videos
                    • Evaluating real-time capabilities with a simple example
                  • Time for action – adjusting the contrast of the video
                    • Revisiting the contrast adjustment example
                  • Time for action – adding preview in our code
                  • Summary
                  • Chapter 9: Spatiotemporal Video Processing
                    • Basic video processing with MATLAB
                      • Cropping and resizing our video
                    • Time for action – loading, cropping, resizing, and saving a video
                      • Filtering your video frames
                    • Time for action – reducing the blocking effect
                    • Deinterlacing videos in MATLAB
                      • Intra-frame filtering for deinterlacing tasks
                    • Deinterlacing with the Computer Vision System Toolbox
                    • Time for action – deinterlacing a video using the vision toolbox
                    • Deinterlacing with the custom functions
                    • Time for action – deinterlacing with line repetition
                    • Time for action – deinterlacing with the scan line interpolation
                    • Inter-frame filtering for the deinterlacing tasks
                      • Temporal deinterlacing by field merging
                    • Time for action – deinterlacing with field merging
                    • Temporal deinterlacing by field averaging
                    • Time for action – deinterlacing with field averaging
                    • Mixing intra-frame and inter-frame deinterlacing
                      • Vertical and temporal interpolation for deinterlacing
                    • Time for action – vertical and temporal interpolation method
                    • Adding a new dimension to the filters
                      • Spatiotemporal averaging filter
                    • Time for action – implementing a spatiotemporal averaging filter
                      • Using convolution for spatiotemporal averaging
                    • Time for action – spatiotemporal averaging filter with the convn function
                    • Summary
                    • Chapter 10: From Beginner to Expert – Handling Motion and 3-D
                      • Detecting and estimating motion in videos
                        • Detecting motion
                      • Time for action – detecting a moving object in a still scene
                      • Time for action – detecting motion in a complex scene
                      • Estimating the motion
                        • Estimating motion using optical flow
                      • Time for action – tracking people with Horn-Schunck optical flow
                      • Time for action – warping frames using optical flow
                      • Compensating camera motion using feature tracking
                      • Time for action – tracking feature points for motion compensation of a shaky video
                      • Working with stereoscopic images
                      • Time for action – creating a 3-D video from left and right videos
                      • Time for action – creating a 3-D video from a regular one
                      • Summary

                      George Siogkas

                      George Siogkas is currently the Associate Dean of the Department of Engineering and Informatics at New York College, Greece, where he has been teaching as a senior lecturer for the past four years. He also has more than ten years of research experience in the academia. His keen passion for MATLAB programming, especially in the areas of image and video processing, was developed while working towards a PhD in the field of computer vision for intelligent transportation systems. Dr. Siogkas received his PhD in Electrical and Computer Engineering from the University of Patras, Greece in 2013. For more information about the author, visit his webpage, at http://www.cvrlab.com/gsiogkas.
                      Sorry, we don't have any reviews for this title yet.

                      Code Downloads

                      Download the code and support files for this book.


                      Submit Errata

                      Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                      Sample chapters

                      You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                      Frequently bought together

                      Visual Media Processing Using MATLAB Beginner's Guide +    Alfresco 4 Enterprise Content Management Implementation =
                      50% Off
                      the second eBook
                      Price for both: £29.05

                      Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                      What you will learn from this book

                      • Apply basic geometric transformations on images
                      • Manipulate pixel values in grayscale and color images
                      • Select regions of interest in an image both manually and automatically
                      • Apply masking techniques both in grayscale and color images
                      • Write image processing scripts and functions
                      • Enhance the quality of your images using filtering methods
                      • Work with 3-dimensional images and videos
                      • Create time-lapse videos using photographs

                      In Detail

                      Whether you want to enhance your holiday photographs or make a professional banner image for your website, you need a software tool that offers you quick and easy ways to accomplish it. All-in-one tools tend to be rare, and Matlab is one of the best available.

                      This book is a practical guide full of step-by-step examples and exercises that will enable you to use Matlab as a powerful, complete, and versatile alternative to traditional image and video processing software.

                      You will start off by learning the very basics of grayscale image manipulation in Matlab to master how to analyze 3-dimensional images and videos using the same tool. The methods you learn here are explained and expanded upon so that you gradually reach a more advanced level in Matlab image and video processing.

                      You will be guided through the steps of opening, transforming, and saving images, later to be mixed with advanced masking techniques both in grayscale and in color. More advanced examples of artistic image processing are also provided, like creating panoramic photographs or HDR images. The second part of the book covers video processing techniques and guides you through the processes of creating time-lapse videos from still images, and acquiring, filtering, and saving videos in Matlab.

                      You will learn how to use many useful functions and tools that transform Matlab from a scientific software to a powerful and complete solution for your everyday image and video processing needs.

                      Approach

                      Written in a friendly, Beginner's Guide format, showing the user how to use the digital media aspects of Matlab (image, video, sound) in a practical, tutorial-based style.

                      Who this book is for

                      This is great for novice programmers in any language who would like to use Matlab as a tool for their image and video processing needs, and also comes in handy for photographers or video editors with even less programming experience wanting to find an all-in-one tool for their tasks.

                      Code Download and Errata
                      Packt Anytime, Anywhere
                      Register Books
                      Print Upgrades
                      eBook Downloads
                      Video Support
                      Contact Us
                      Awards Voting Nominations Previous Winners
                      Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                      Resources
                      Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software