Introduction - If you have any usage issues, please Google them yourself
For an image, such as 8000 * 5333 resolution, we usually start with the first pixel and calculate it to the last pixel. In fact, at present, whether mobile phones or personal computers, processors are multi-core. Then the whole image can be divided into several blocks, such as CPU 4 core processor, then can be divided into four blocks, each image size of 2000*5333, so that the program can create four threads, each processor executes a thread, each thread processing an image block. Although this operation will not significantly increase the computing speed by four times, because thread creation, release, context switching will take some time. But the operation speed will be improved obviously. Generally, 4 cores vs 1 cores will reduce the operation time by half