TDD is one practice of Agile methodology which talking about the testing be able to drive the code with logic validation. In machine vision or image processing almost based on mathematical calculation. Hence, It's interesting to apply TDD with the given field.
I have wrote on my personal blog about this and you can follow and practice the very basic of TDD with the mentioned above work. Please check here "Test driven development with Machine Vision or Image Processing implementation"