Class TLspImageProcessingStyle.Builder<B extends TLspImageProcessingStyle.Builder<B>>

java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle.Builder<B>
com.luciad.view.lightspeed.style.imagefilter.TLspImageProcessingStyle.Builder<B>
Enclosing class:
TLspImageProcessingStyle

public static class TLspImageProcessingStyle.Builder<B extends TLspImageProcessingStyle.Builder<B>> extends ALspStyle.Builder<B>
Builder for image processing styles. The image operator chain must be specified.

Example that sets a convolution operator:

 ALcdImageOperatorChain chain = ALcdImageOperatorChain.newBuilder()
                                                      .operator(new TLcdConvolveOp())
                                                      .parameter(TLcdConvolveOp.KERNEL_HEIGHT,3)
                                                      .parameter(TLcdConvolveOp.KERNEL_WIDTH,3)
                                                      .parameter(TLcdConvolveOp.KERNEL,new float[]{-1f,-1f,-1f,-1f,9f,-1f,-1f,-1f,-1f})
                                                      .build();
 TLspImageProcessingStyle style = TLspImageProcessingStyle.newBuilder().operatorChain(chain).build();
 
Since:
2014.0
  • Method Details