Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibGenerateDefaultSegmentationPalette.m File Reference

generate color palette depending on the provided paletteName and required noColors More...

Functions

function palette = mibGenerateDefaultSegmentationPalette (paletteName, colorsNo)
 generate color palette depending on the provided paletteName and required noColors
 

Detailed Description

generate color palette depending on the provided paletteName and required noColors

Function Documentation

◆ mibGenerateDefaultSegmentationPalette()

function palette = mibGenerateDefaultSegmentationPalette ( paletteName,
colorsNo )

generate color palette depending on the provided paletteName and required noColors

Parameters
paletteNamestring with the name of the palette to use, see below for the options
colorsNonumeric, number of required color channels
Return values
palettematrix [colorId][R G B] in range from 0 to 1 with colors

References mibInputMultiDlg().

Referenced by mibModel.setDefaultSegmentationColorPalette(), mibPreferencesAppController.updateColorPalette(), and mibPreferencesController.updateColorPalette().

Here is the call graph for this function:
Here is the caller graph for this function: