I hereby claim:
- I am aiosa on github.
- I am aiosa (https://keybase.io/aiosa) on keybase.
- I have a public key ASBKb3iK75M-xXNkvILKxzGE12DI-0l-7TLxBcjukacD7Ao
To claim this, I am signing this object:
/////////////// | |
// OLD CODE | |
/////////////// | |
int32_t err = MZ_OK; | |
void *mem_stream = NULL; | |
void *zip_handle = NULL; | |
mz_stream_mem_create(&mem_stream); | |
mz_stream_mem_set_grow_size(mem_stream, (128 * 1024)); |
const webglProcessing = new WebGLModule({ | |
// htmlControlsId: "div-id", //if set, shader realtime controls are available | |
// htmlShaderPartHeader: callback, //function that handles HTML rendering for each layer | |
// debug: t/f, | |
// for other control options, see WebGLModule class | |
}); | |
const seaGL = new OpenSeadragon.BridgeGL(viewer, webglProcessing, true); //true to enable cache, false to disable | |
seaGL.addVisualisation({ | |
//here you want to add a visualization with compulsory member "shaders" - object that defines what postprocessing is applied |
function [str] = colmap_to_json(func) | |
%%convert function of a colormap to JSON | |
%%use: colmap_to_json(@parula); | |
str = "{\n"; | |
for i = 3:8 | |
s = cnvt(func(i)); | |
str = strcat(str,s, "\n"); | |
end | |
str = strcat(str,"}"); |
I hereby claim:
To claim this, I am signing this object: