Generate a colormap of random order. For example, rjet = randmap(256, 'jet') generates a randomized jet colormap of 256 levels. Could be useful for image segmentation like the sample picture.
Supported colormap types are built-in MATLAB colormap types : 'parula', 'jet', 'hsv', 'hot', 'cool', 'spring', 'summer', 'autumn', 'winter', 'gray', 'bone', 'copper', 'pink', 'lines', 'colorcube', 'prism', 'flag', 'white' .
CY Y (2021). randcmap (https://github.com/joe-of-all-trades/randcmap), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.