Of course. Here is the same script rewritten in C++:


```C++
Mat img = x_train[0];
applyColorMap(img, COLORMAP_BWR);
imshow("Image", img);
```

As with the Python code, you can find a full list of colormaps for C++ at https://docs.opencv.org/.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence