Updating the README

This commit is contained in:
Zellweger Christof Ralf
2017-03-07 11:27:19 +01:00
parent 70d3f463f7
commit 0ecc8e0992

View File

@ -376,7 +376,7 @@ It is possible to apply transformations to values. These transformations are ava
#### Image Resize #### Image Resize
Following transformation sequence resizes images by the factor of 8, sets the value range to [400...4000], uses the *temperature* color model, and provides the image as a base64 encoded string. The following transformation sequence resizes images by the factor of 8, sets the value range to [400...4000], uses the *temperature* color model, and provides the image as a base64 encoded string.
```json ```json
@ -439,23 +439,29 @@ Applying an image resize transformation has the advantage that the computation i
#### Value Sampling #### Value Sampling
Following transformation sequence resizes images by the factor of 4, filters all values below 200 (considers values below 200 as noise), and provides the image in the raw format. The following transformation sequence resizes images by the factor of 4, filters all values below 200 (considers values below 200 as noise), and provides the image in the raw format.
This transformation could potentially also be used for other value forms than images. This transformation could potentially also be used for other value forms than images.
```json ```json
"valueTransformation":{ "valueTransformations":[
"valueSampler":{ {
"downSampleFactor":4, "pattern":"Image",
"valueAggregation":"first-value" "backend":"sf-imagestorage",
}, "sequence":[
"valueFunctions":[ "valueSampler":{
{ "downSampleFactor":4,
"min":200.0, "valueAggregation":"first-value"
"mapTo":0.0 },
} "valueFunctions":[
] {
} "min":200.0,
"mapTo":0.0
}
]
]
}
]
``` ```
- **valueSampler**: The value sampling operation. - **valueSampler**: The value sampling operation.