Chapter 15

Fun with Pictures

IN THIS CHAPTER

check Exploring the magick package

check Transforming images

check Working with animated images

check Combining stationary images and animations

R is not known as a language for image processing, but its capabilities in that arena, as in others, are expanding all the time. To get you started with image processing, I take you through the magick package for manipulating, modifying, and combining pictures.

Polishing a Picture: It's magick!

The magick package is a recent development in R, designed to make life easier for anyone who wants to process images. On the Packages tab, click Install to open the Install Packages dialog box. In the dialog box, type magick and click the Install button. When the package finishes downloading, select its check box on the Packages tab.

Here’s a good place to find an image to work with www.connectmyapps.com/Dummies: This URL links to the web page that looks something like Figure 15-1.

Get R Projects For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.