C++ for image processing
I just finished my first year of uni in EE and am learning c++ in the summer to then be able to use it for Image processing. Putting aside image processing, what area of the languaje should I concentrate in in order to get the most out of it for Image processing? ie. Memory management, vectors, etc? Again, I am not trying to learn image processing libraries, I am solely trying to learn cpp language. Thanks!
Posted Jul 17, 2019, 5:41 AM UTC · edited
31
Two things: memory management and multithreading.
Memory management is obvious - image processing is memory intensive and the moment you have a leak, your program explodes. If you learn some good techniques so avoiding memory leaks and using memory efficiently becomes second nature, you're going to be more competent than any of your classmates.
A lot of image processing is paralellizable, so get familiar with multithreading and other forms of multiprocessing. Your laptop CPU has probably 8 cores, probably hyperthreading, so CPU-bound computations that aren't limited by memory or bus speeds can be sped up by a factor 10 or so. Your implementations of class assignments will be faster than your classmates.
I was going to suggest GPU and FPGA, but that falls outside the scope of C++ and it's probably better to wait with that stuff until you're solid on the basics.
Good luck!