object IndexedColorMap extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IndexedColorMap
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
fromColorMap(cm: ColorMap): IndexedColorMap
Flattens the given colormap into an indexed variant, throwing away any defined boundaries.
-
def
fromTiffPalette(tiffPalette: Seq[(Short, Short, Short)]): IndexedColorMap
Creates an IndexColorMap from sequence of RGB short values.
- implicit val indexedColorMapDecoder: Decoder[IndexedColorMap]
- implicit val indexedColorMapEncoder: Encoder[IndexedColorMap]
-
def
toTiffPalette(cm: ColorMap): Seq[(Short, Short, Short)]
Converts a ColorMap to sequence of short triplets in encoding expected by GeoTiff 'Palette' color space.