What is a patch in image processing?
图像被分组为块的部分称为图像中的补丁patch。
Image patch is a container of pixels in larger form. For example, let’s say you have a image of 100px by 100px. If you divide this images into 10x10 patches then you will have an image with 100 patches (that is 100px in each patch). If you have developed an algorithm that will operate on 10px by 10px, that 10px by 10px is the patch size. For example, pooling layer of CNN takes larger patches and turns them into one pixel. You may think of it as window in signal processing. In image processing patch and window is interchangeable most of the time, but patch is usually used in context when your algorithm mainly focused on the fact that bunch of pixels share similar property. For instance, patch is used in con