Meaning
Image processing operator used to transform pixel arrays through spatial filtering. In the context of computer vision, two-dimensional convolution involves sliding a small matrix called a kernel over an input image to create a filtered output. This process is the foundation for detecting edges or extracting features in neural networks.
Algorithmic Logic
Calculation of the value for each output pixel involves multiplying the kernel values with the corresponding input pixels and summing the results. Adjusting the weights within the kernel allows the same two-dimensional convolution operation to perform different tasks like sharpening or noise reduction. Modern graphics processing units use parallel architectures to execute thousands of these calculations simultaneously.
Regulatory Compliance
Algorithms used for public security and facial recognition in China must undergo evaluation by the Ministry of Public Security to ensure accuracy and lack of bias. The implementation of two-dimensional convolution in these models is scrutinized for its ability to handle different lighting conditions and occlusions. Standards for algorithmic transparency require developers to document the filtering layers used in deep learning architectures.
Boundary Condition
Calculations become problematic at the edges of an image where the kernel overlaps the boundary. Padding the image with zeros or wrapping the edges is necessary to maintain the output size.