How to split train and test set from the ground truth in a hyperspectral work?

Viewed 10

In a hyperspectral dataset, such as Indian pine, how do we split the ground truth into the training and testing parts shown belowenter image description here

Similarly, my label image is a mask, and I want to do something similar to it, so how do I do that.enter image description here

0 Answers
Related