The Pocket Handbook of Image Processing Algorithms in C (1993) [pdf]
adaptiveart.eecs.umich.edu
adaptiveart.eecs.umich.edu
One thing I particularly like about this book is that the author used photographs of his child that look super unhappy. After applying filters to them, she looks even more unhappy. It gives the book a dark and foreboding feeling.
Anyway, I always show this book to my students (along with processes like saving a raw image and opening it in audacity as a sound file, the custom tool in photoshop) as a means of demystifying image processing.
The postfix operator can incur a temporary variable to be created by the compiler and thus make code slower.
Reference: http://www.idinews.com/peeves/prefixIncr.html
Also, item #6 from "More Effective C++": http://bin-login.name/ftp/pub/docs/programming_languages/cpp...
Is there an equivalent instruction in assembly for postfix increment/decrement?
Prefix is going to look something like:
inc eax # increment the value
mov eax,ecx # copy the return value to its destination
Postfix is going to look something like: mov eax,ebx # copy original value
inc eax # increment value
mov ebx,ecx # copy original value to final destination
The actual code you'd get would vary a lot between compilers, architectures, and even just different contexts within the same compiler-architecture combination.