Deep learning self supervised algorithms that can segment an image in a fixed number of hard labels such as the k-means algorithm and only relying only on deep learning techniques are still lacking. Here, we introduce the k-textures algorithm which provides self supervised segmentation of a 4-band image (RGB-NIR) for a $k$ number of classes. An example of its application on high resolution Planet satellite imagery is given. Our algorithm shows that discrete search is feasible using convolutional neural networks (CNN) and gradient descent. The model detects $k$ hard clustering classes represented in the model as $k$ discrete binary masks and their associated $k$ independently generated textures, that combined are a simulation of the original image. The similarity loss is the mean squared error between the features of the original and the simulated image, both extracted from the penultimate convolutional block of Keras 'imagenet' pretrained VGG-16 model and a custom feature extractor made with Planet data. The main advances of the k-textures model are: first, the $k$ discrete binary masks are obtained inside the model using gradient descent. The model allows for the generation of discrete binary masks using a novel method using a hard sigmoid activation function. Second, it provides hard clustering classes -- each pixels has only one class. Finally, in comparison to k-means, where each pixel is considered independently, here, contextual information is also considered and each class is not associated only to a similar values in the color channels but to a texture. Our approach is designed to ease the production of training samples for satellite image segmentation. The model codes and weights are available at https://doi.org/10.5281/zenodo.6359859
翻译:深度学习自我监督算法, 可以将图像分解成固定数量的硬标签, 如 k- 比例算法, 并且只依赖深学习技术 。 目前仍然缺乏这种算法 。 在此, 我们引入 k- texture 算法, 提供4波段图像( RGB- NIR) 的自监督分解 $K美元数。 提供了一个在高分辨率地球卫星图象上应用的示例。 我们的算法显示, 使用 convolual 神经网络( CNN) 和梯度下降, 进行离散搜索是可行的。 模型检测了模型中代表的 $k$k$ 离散双面遮罩及其相关的独立生成的 $k$ 。 组合算法是原始图像的模拟 4波段( RGBB- NIR ) 。 类似损失是原始图像和模拟图像之间的平均平面图案错误 。 使用每部模型只对 VGGG-16 模型和仅用GLEAN 数据制作的自定义 。 ktext 模型的主要进展是: 第一, $ $kleveldeal- binmodeleglegleglevelyal exal sal deal exal deal deal lection lection 。