Executive Summary Canny image edge detection algorithm is used to detect edges in an image and it has a huge importance for feature extraction in machine learning. It has found application in many industries: optical character recognition, facial recognition, computer aided diagnosis, autonomous vehicles, space exploration, and many others. The performance of the algorithm is […]
optimization
Many ways to speed up your program
There are many approaches to make your program run faster. Some approaches are based on using more efficient libraries, others rely on using the standard library and the language in an efficient manner. Other approaches include using more efficient algorithms. But sometimes, even after we’ve applied all the possible optimizations, the code performance is not […]
Run your floating-point calculations with both precision and speed
One of our customers has a mathematical simulation program where precision matters. We were given the code for evaluation and asked to make it run faster. They have a strict requirement that the source code is compiled without any optimization flags that can influence precision. Most compilers offer a fast-math compiler flag that significantly improves […]