I have got raster images of the spatial distribution of categorical data. For each pixel of the image, I know which single category (A to F) is present in that pixel.
Each image belongs to a class depending on the spatial distribution of the categories in the image, and I would like to classify new images based on known images.
My first thought is to use a neural network with at least a 2D convolution layer (Conv2D layer) next to the input layer. However, it seems to me that Conv2D filters make use of information that is embedded in values to each an order can be attributed, such as the intensity of a channel. For comparison, in image processing a Sobel filter can detect edges by approximating the gradient of the image intensity, which has an order (lower values vs higher values)
In the present case, however, there is no order between the categories A to F, i.e., we cannot say that A < B < C for example.
Can I use a Conv2D layer in that case, and how should I color encode the categories so I do not introduce a piece of information (order) which is not present in the orginal dataset?