init
Callable
Parameters
configuration: {} = {}
A configuration object
Returns Promise<boolean>
A promise that resolves to true cornerstone has been initialized successfully.
A configuration object
A promise that resolves to true cornerstone has been initialized successfully.
Initialize the cornerstone-core. If the browser has a webgl context and the detected gpu (by detect-gpu library) indicates the GPU is not low end we will use webgl GPU rendering. Otherwise we will use cpu rendering.