Installing the Tools
Total Page:16
File Type:pdf, Size:1020Kb
A P P E N D I X Installing the Tools In this appendix, I will show you how to install the tools used throughout the book. All these programs are freely available for at least Microsoft Windows and Ubuntu. GIMP GIMP is a powerful image editor. It is one of the main tools used in this book. The version used in this book is 2.6.7. Installing it is really easy. Installing GIMP in Microsoft Windows To install GIMP in Microsoft Windows, you need to download the latest release at http://www.gimp.org/, double-click on the downloaded file, and follow the installer instructions. Installing GIMP in Ubuntu In Ubuntu, GIMP may be already installed. If for some reason it is not installed, you can always install it by running the following command in the terminal window: sudo apt-get install gimp UFRaw UFRaw allows you to open RAW images. You can also adjust color balance and many other advanced options. The version used in this book is 0.15. Make sure that you install GIMP before you install UFRaw. This will allow you to send the converted RAW images directly from UFRaw to GIMP. Also, there are some files that UFRaw needs that come with GIMP. Installing UFRaw in Microsoft Windows You can install UFRaw in Microsoft Windows by downloading the latest binaries from the Download and Install section of http://ufraw.sourceforge.net/. After that, you need to double-click on the downloaded file and follow the instructions. 275 APPENDIX INSTALLING THE TOOLS Installing UFRaw in Ubuntu In Ubuntu, you can easily install UFRaw installed by running the following command in the terminal window: sudo apt-get install ufraw Resyntheziser Resyntheziser is a plug-in for GIMP. This means that you need to have GIMP installed before you install this program. This plug-in has a bug so I will show you how to install it first and then how to patch it to make it work correctly. Installing Resyntheziser in Microsoft Windows The first thing that you have to do is to download the zip file of the original resyntheziser plug-in from the following address: http://registry.gimp.org/node/9148. Close GIMP if you have it open. Now we are going to install this plug-in. You need to make sure that you are able to see hidden files and folders. This is done slightly different between Windows XP and newer versions, such as Vista and 7. If you are working in Windows XP, first open any folder. Then, in that folder menu, go to Tools b Folder options. There, click on the View tab and click the Show hidden files and folders option, as shown in Figure A-1. Click on OK and you are done. 276 APPENDIX INSTALLING THE TOOLS Figure A-1. This image shows how to view hidden files and folders in Windows XP. If you are working on Windows Vista or 7, the instructions are similar. First, go to the Control Panel and click on Appearance and Personalization. There, under Folder Options, click on Show hidden files and folders. This will bring a dialog box similar to Figure A-1. Just select Show hidden files, folders, and drives under Hidden files and folders and click OK. Now you need to locate your user folder in GIMP. This location is different between Windows XP and newer versions of Windows, such as Vista and 7. If you are using Windows XP, the location of this folder is: C:\Documents and Settings\USERNAME\.gimp-VERSION 277 APPENDIX INSTALLING THE TOOLS Note that USERNAME is your actual user name and VERSION is the actual version of GIMP. As an example, the location of my user folder of GIMP in Windows XP is C:\Documents and Settings\samontab\.gimp-2.6. If you are using Windows Vista or 7, the location of this folder is slightly different. It is stored in: C:\Users\USERNAME\.gimp-VERSION Note that here as well, USERNAME and VERSION are related to your specific values. In my case, if using Windows 7, the location would be C:\Users\samontab\.gimp-2.6. The next step is to go into the user folder of GIMP. There, you will see many folders. There are two that are particularly useful: scripts and plug-ins. Any script or plug-in that is added in those respective folders will be installed in GIMP. That is exactly what we are going to do now. Resynthesizer version 0.16 comes as a compressed file. After you decompress this file, two directories will appear: plug-ins and scripts. You need to copy the contents of these folders into the respective folders of the GIMP user folder. Specifically, you will be copying smart-enlarge.scm and smart-remove.scm into the scripts folder and resynth.exe into the plug-ins folder. Now, we are going to apply the patch that solves some bug issues. First, download it from http://registry.gimp.org/node/15118. It is a single file called smart-remove.scm. Move this file into the scripts directory of the GIMP user folder, overwriting the previous file. After doing that, restart GIMP. Plug-ins will be activated. Now you can access this plug-in under the following menu: Filters b Enhance b Heal Selection. Installing Resyntheziser in Ubuntu To install Resynthezier in Ubuntu, you need to execute the following command: sudo apt-get install gimp-resynthesizer After doing that, you need to download the patch from http://registry.gimp.org/node/15118 and copy it into the GIMP scripts folder, overwriting the previous one. This folder is located at /usr/share/gimp/2.0/scripts. After doing that, restart GIMP. Plug-ins will be activated. Now you can access this plug-in under the following menu: Filters b Enhance b Heal Selection. Imagemagick Imagemagick is a powerful command-line utility for image processing. The version used in this book is 6.5.6-10 2009-10-08 Q16. Installing Imagemagick in Microsoft Windows To install Imagemagick in Microsoft Windows, you need to go to the Binary Release–Windows section at http://www.imagemagick.org. Download the file that suits your needs. If you do not know which one to download, choose the first option. After doing that, just double-click the downloaded file and follow the instructions. 278 APPENDIX INSTALLING THE TOOLS Installing Imagemagick in Ubuntu To install Imagemagick in Ubuntu, you only need to execute the following command in the command line: sudo apt-get install imagemagick Hugin Hugin provides an easy-to-use interface for stitching panoramas and more. This software is provided for non-commercial use only. The University of British Columbia has applied for a patent on the SIFT algorithm in the United States. Commercial applications of this software may require a license from the University of British Columbia. The version used in this book is 0.70 because in newer versions, you need to install the automatic control points generators separately, which may be difficult for some people. Installing Hugin in Microsoft Windows You can install this version by going to http://sourceforge.net/projects/hugin/files and downloading the hugin-0.7.0_win32-setup.exe file under the hugin-0.7.0 directory. After doing that, double-click the file and follow the instructions. Installing Hugin in Ubuntu To install Hugin in Ubuntu, you only need to execute the following command in the command line: sudo apt-get install hugin Qtpfsgui Version 1.8.12 of Qtpfsgui is used in this book, although newer versions are available. At the time of publication, the latest stable version was 1.9.3, but it presented some issues in the implementation of a tone mapping operator, specifically the Durand operator. Because of this, I decided to use a slightly older version that still had the correct implementation of all the tone mapping operators. Also, note that starting from release 2.0, this software will be renamed to Luminance HDR. Installing Qtpfsgui in Microsoft Windows For Windows-based systems, you can download version 1.8.12 of Qtpfsgui from the SourceForge download page. Just go to http://sourceforge.net/projects/qtpfsgui/files/ and select the qtpfsgui folder. Inside that folder, choose version 1.8.12. Finally, download the file called QtpfsguiSetup.exe. You can access this file directly by going to this location: http://sourceforge.net/projects/qtpfsgui/files/qtpfsgui/1.8.12/QtpfsguiSetup.exe/download 279 APPENDIX INSTALLING THE TOOLS After the file has downloaded, double-click it and proceed with the installation. Installing Qtpfsgui in Ubuntu For Linux-based systems like Ubuntu, go to http://sourceforge.net/projects/qtpfsgui/files/ and select the qtpfsgui folder, followed by the 1.8.12 option. There, you need to select the qtpfsgui- 1.8.12.tar.gz file to download. You can access this file directly from this location: http://sourceforge.net/projects/qtpfsgui/files/qtpfsgui/1.8.12/G qtpfsgui-1.8.12.tar.gz/download Extract the files and follow the instructions for installing Qtpfsgui. Ubuntu users can install the latest repository version by executing the following code in the command line: sudo apt-get install qtpfsgui Avidemux Avidemux is video editing software. It is simple to use and offers the most common video operations needed for making a short movie or video using the clips from your camera. Installing Avidemux in Microsoft Windows To install Avidemux in Microsoft Windows, you need to go to http://fixounet.free.fr/avidemux and download the latest release for Microsoft Windows in the Downloads menu.