@cleerlycode/cornerstone-wado-image-loader
Version:
Cornerstone ImageLoader for DICOM WADO-URI
16 lines (13 loc) • 436 B
JavaScript
import wadors from './wadors/index.js';
import wadouri from './wadouri/index.js';
/**
* Register the WADO-URI and WADO-RS image loaders and metaData providers
* with an instance of Cornerstone Core.
*
* @param cornerstone The Cornerstone Core library to register the image loaders with
*/
function registerLoaders (cornerstone) {
wadors.register(cornerstone);
wadouri.register(cornerstone);
}
export default registerLoaders;