See: Description
Class | Description |
---|---|
TLspColorLookupTableFilterStyle |
A color lookup table filter style.
|
TLspColorLookupTableFilterStyle.Builder<B extends TLspColorLookupTableFilterStyle.Builder<B>> |
Builder for color lookup table filter styles.
|
TLspImageProcessingStyle |
Image processing style to apply image operators to a raster layer.
|
TLspImageProcessingStyle.Builder<B extends TLspImageProcessingStyle.Builder<B>> |
Builder for image processing styles.
|
TLspImageProcessingStyle
.
You can find all details about image processing and the available operators in com.luciad.imaging
.
For example to create a layer with a gray-scale filter:
TLspRasterStyle rasterStyle = ... TLspImageProcessingStyle filterStyle = TLspImageProcessingStyle.newBuilder() .operatorChain( ALcdImageOperatorChain.newBuilder() .pixelTransform( new double[]{ 0.2126, 0.7152, 0.0722, 0.2126, 0.7152, 0.0722, 0.2126, 0.7152, 0.0722 }, new double[]{0, 0, 0} ) .build() ) .build(); TLspRasterLayer layer = TLspRasterLayerBuilder.newBuilder(). model( ... ). styler( TLspPaintRepresentationState.REGULAR_BODY, new TLspStyler( rasterStyle, filterStyle ) ). build();