File Exchange

image thumbnail

randcmap

version 1.0.0.0 (1.42 KB) by CY Y
randcmap generates colormap with random order

32 Downloads

Updated 19 Aug 2016

From GitHub

View license on GitHub

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' .

Cite As

CY Y (2021). randcmap (https://github.com/joe-of-all-trades/randcmap), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.