public class ColorMaps extends Object
Constructor and Description |
---|
ColorMaps() |
Modifier and Type | Method and Description |
---|---|
static void |
applyMagmaColorMap(ij.ImagePlus imp)
Applies the "magma" colormap to the specified (non-RGB) image
|
static void |
applyMagmaColorMap(ij.ImagePlus imp,
int backgroundGray,
boolean inverted)
Applies the "magma" colormap to the specified (non-RGB) image
|
static void |
applyViridisColorMap(ij.ImagePlus imp)
Applies the "viridis" colormap to the specified (non-RGB) image
|
static void |
applyViridisColorMap(ij.ImagePlus imp,
int backgroundGray,
boolean inverted)
Applies the "viridis" colormap to the specified (non-RGB) image
|
public static void applyViridisColorMap(ij.ImagePlus imp)
imp
- A non-RGB imagepublic static void applyViridisColorMap(ij.ImagePlus imp, int backgroundGray, boolean inverted)
imp
- A non-RGB imagebackgroundGray
- The gray value (8-bit scale) to be used as the first entry of
the LUT. It is ignored if negative.inverted
- If the LUT should be invertedpublic static void applyMagmaColorMap(ij.ImagePlus imp)
imp
- A non-RGB imagepublic static void applyMagmaColorMap(ij.ImagePlus imp, int backgroundGray, boolean inverted)
imp
- A non-RGB imagebackgroundGray
- The gray value (8-bit scale) to be used as the first entry of
the LUT. It is ignored if negative.inverted
- If the LUT should be invertedCopyright © 2015–2021 Fiji. All rights reserved.