Since instances could be divided into many segments, it is important to design an appropriate affinity kernel to connect those segments that belong to the same instance. As shown in Figure REF  and Figure REF , The yellow point is the current pixel. Red points belong to different instances and blue points belong to the same instance of the current pixel. The antenna that the current pixel (yellow point) belongs to has two segments that need to be connected by affinity neighbor. The previous affinity-based approaches [1]}, [2]} don't take into account such problems and cause some failures. Hence, we propose principles of generating effective and efficient affinity kernel based on dataset property to solve Arbitrary Shape Instance Segmentation. Our affinity kernel is shown in REF .
