Skip to Content
Python for Bioinformatics
book

Python for Bioinformatics

by Jason Kinser
June 2008
Beginner to intermediate
417 pages
10h 41m
English
Jones & Bartlett Learning
Content preview from Python for Bioinformatics

3 Image Manipulation

Several bioinformatics applications use images to represent the data. Raw data coming off of a gel sequencer is an image of vertical lanes. Expression arrays originate as an image of thousands of circles. Newer applications associate phenotypes extracted from images with genotype information.

The Python Image Library (PIL) is a third-party module that provides a decent amount of image reading, writing, and manipulation software. This chapter will review the basics of this package and explore some of the basics of digital image processing.

3.1 The Image Module

To employ the PIL, the module is imported in one of two ways. For Versions 1.1.5 or earlier, the command import Image is used; for Version 1.1.6, the from PIL import ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Bioinformatics with Python Cookbook - Third Edition

Bioinformatics with Python Cookbook - Third Edition

Tiago Antao

Publisher Resources

ISBN: 9780763751869