ABSTRACT

Multiple scripting and programming languages exist that are suitable for image processing. Python is the language selected for this text because it has powerful, efficient tools, it is high demand by employers, and it is free. This chapter reviews Python skills and in some cases present the corresponding image operator notation. Readers who are familiar with Python may wish to scan sections to see the relationships between Python and the image operator notation. Python provides standard variables such as integers and floats, but it also offers a complex variable. Slicing is the ability to extract part of the entity, or when allowed, to change to part of the entity. For example, a task may need to use only the first item in a tuple, and thus access to that single item is needed. Python uses square brackets to access an item in a tuple, list, or other collection.