Image Operators
eBook - ePub

Image Operators

Image Processing in Python

  1. 339 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Image Operators

Image Processing in Python

Book details
Book preview
Table of contents
Citations

About This Book

For decades, researchers have been developing algorithms to manipulate and analyze images. From this, a common set of image tools now appear in many high-level programming languages. Consequently, the amount of coding required by a user has significantly lessened over the years. While the libraries for image analysis are coalescing to a common toolkit, the language of image analysis has remained stagnant. Often, textual descriptions of an analytical protocol consume far more real estate than does the computer code required to execute the processes. Furthermore, the textual explanations are sometimes vague or incomplete. This book offers a precise mathematical language for the field of image processing. Defined operators correspond directly to standard library routines, greatly facilitating the translation between mathematical descriptions and computer script. This text is presented with Python 3 examples.

  • This text will provide a unified language for image processing


  • Provides the theoretical foundations with accompanied PythonÂŽ scripts to precisely describe steps in image processing applications


  • Linkage between scripts and theory through operators will be presented


  • All chapters will contain theories, operator equivalents, examples, PythonÂŽ codes, and exercises

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Image Operators by Jason M. Kinser in PDF and/or ePUB format, as well as other popular books in Technology & Engineering & Electrical Engineering & Telecommunications. We have over one million books available in our catalogue for you to explore.

Part I

Image Operators

1

Introduction

Analysis of images has been a growing field of science and application for several decades. As computers become more powerful, the ability to process and analyze images increases. Furthermore, the process of collecting digital data has become trivial as the proliferation of smart phones to almost every society provides individuals with the means to quickly gather gigabytes of digital image information.
While the ability to analyze images has been increasing, the ability to communicate these processes has been stagnate. Traditional sciences, such as physics and chemistry, have a standardized language. Physicists from one part of the world can quickly scan equations written by physicists in another part of the world and understand the message, often without requiring definitions. Independent of their institute of education, physicists understand that
Δt′=Δtγ⁢(1.1)
represents time dilation in a relativistic system. Furthermore, the language is so universally standardized that they also understand that
γ=11−v2/c2.⁢(1.2)
The language of the field is known worldwide, and hence communication of the concept does not require the recipient to dig into a text to understand what each variable represents. Because they are knowledgeable of the field, the communication is compact and precise.
The field of image analysis does not enjoy this efficiency. Papers in the same journal will display different mathematics to describe similar phenomena. The reader is thus required to reset their understanding of the mathematics to read about similar concepts. Often, authors resort to textual descriptions of their protocols instead of equations, leading to imprecise descriptions of their methods. Replication of their published process may require some guesswork since the descriptions lack complete clarity.
Compounding this issue is the growing collection of scripting languages and tools. Several decades ago, researchers would have to write several lines of code to perform a certain process because libraries were scant. Today, freely available languages come with powerful toolkits. Programmers now need only a few lines to perform those same image analysis tasks. The issue that arises is that quite often, the amount of real estate required to write the program is much less than the amount of real estate used to describe the same process. In the 1990s, Wilson and Ritter developed a mathematical language for image processing that was coincident with a C++ set of tools. This culminated in an image algebra [34]. New languages and toolkits, though, have surfaced since then, and the need for a common language is even greater than it was before.
The main goal of this book is to introduce a mathematical language for image analysis processes that is precise, compact, and matches well with modern scripting languages. Of course, several protocols and examples will be used to describe the language. There are also two appendices that contain organized descriptions of the operators to use as references.

1.1 Scripting in Python

Multiple scripting and programming languages exist that are suitable for image processing. One of the most popular languages is Python, which is also freely available. So, it is the language used in this text. The rest of this chapter reviews elements of Python that are useful for the subsequent chapters; however, by no means is this chapter intended on being a comprehensive description of Python.

1.2 Installation

Python has evolved as several contributors provide useful libraries. Now distributions exist that contain suites of these useful packages and powerful editors. One such distribution is Anaconda [13], which contains multiple editors (Spyder, IDLE, and Jupyter). Anaconda provides all the tools used in this text except that are written by the author. Readers will not be required to install third-party software.

1.2.1 Example Codes

Examples will be provided for many topics throughout the chapters such as seen in Code 1.1. Line 1 begins with the comment character (#) and the name of the file that contains the following funct...

Table of contents

  1. Cover
  2. Half Title
  3. Title Page
  4. Copyright Page
  5. Dedication Page
  6. Table of Contents
  7. Python Codes
  8. Preface
  9. Software and Data
  10. Author
  11. Part I Image Operators
  12. Part II Image Space Manipulations
  13. Part III Frequency Space Manipulations
  14. Part IV Texture and Shape
  15. Part V Basis
  16. Appendix A Operators
  17. Appendix B Operators in Symbolic Order
  18. Appendix C Lengthy Codes
  19. Bibliography
  20. Index