Good concurrent image processing practices
So far, you have most likely realized that image processing is quite an involved process and that implementing concurrent and parallel programming in an image processing application can add more complexity to our work. There are, however, good practices that will guide us in the right direction while developing our image processing applications. The following sections discuss some of the most common practices that we should keep in mind.
Choosing the correct way (out of many)
We have hinted at this practice briefly when we learned about thresholding. How an image processing application handles and processes its image data heavily depends on the problems it is supposed to solve, and what kind of data will be fed to it. Therefore, there is significant variability when it comes to choosing specific parameters when processing your image.
For example, as we saw earlier, there are various ways to threshold an image, and each will result...