Add 'Save mask' dropdown button
Explain what is the problem or the feature to be implemented
This button activates a function that creates masks with createMask
and saves a matrix of the same size of the current image, in which the pixels that are under a certain region type are marked with a 1.
This matrix can later be used in the image patch creation process.