public static class
ImageProcessor.Builder
The Builder to create an ImageProcessor, which could be executed later.
Public Constructors
Builder()
|
Public Methods
Builder<TensorImage> | |
ImageProcessor.Builder | |
ImageProcessor.Builder | |
ImageProcessor |
build()
Completes the building process and gets the
ImageProcessor instance. |
Inherited Methods
Public Constructors
public Builder ()
Public Methods
public ImageProcessor.Builder add (TensorOperator op)
Adds a TensorOperator
into the Operator chain. In execution, the processor calls
TensorImage.getTensorBuffer()
to transform the TensorImage
by transforming
the underlying TensorBuffer
.
Parameters
op | the Operator instance to be executed then |
---|
public ImageProcessor.Builder add (ImageOperator op)
Adds an ImageOperator
into the Operator chain.
Parameters
op | the Operator instance to be executed then |
---|