public class UpscaleOperation extends java.lang.Object implements DatasetOperation
| Constructor and Description |
|---|
UpscaleOperation()
Creates a new ConvolutionOperation with the standard upscale kernel.
|
UpscaleOperation(ConvolutionOperation convolutionOperation)
Creates a new UpscaleOperation
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getObjectMap()
Creates a map of the important fields for the instance, suitable for serialization.
|
long |
getSerializationVersion()
Returns the current version of the serialization format.
|
int |
getVersion()
Returns the current class version.
|
void |
initCurrentVersion(java.util.Map<java.lang.String,java.lang.Object> objectMap)
Initializes an instance with a current-version object graph.
|
Dataset |
run(Dataset input)
Upscales an input - doubles its size, approximates the new elements based on their neighbors.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, initPreviousVersion, initUnknownVersion, load, read, save, writepublic UpscaleOperation(ConvolutionOperation convolutionOperation)
convolutionOperation - convolution operation to usepublic UpscaleOperation()
public Dataset run(Dataset input)
run in interface DatasetOperationinput - Dataset on which to operatepublic long getSerializationVersion()
ObjectMapgetSerializationVersion in interface ObjectMappublic int getVersion()
ObjectMapgetVersion in interface ObjectMappublic java.util.Map<java.lang.String,java.lang.Object> getObjectMap()
ObjectMapgetObjectMap in interface ObjectMappublic void initCurrentVersion(java.util.Map<java.lang.String,java.lang.Object> objectMap)
ObjectMapinitCurrentVersion in interface ObjectMapobjectMap - object graph for initialization