* feat: Add extensibility for tmtv and segmentation modes * Fixes for ordering issues on laod * Remove unnecessary reference lookup * Chane side panel timing to fix tests * PR comments - change how mode definitions get created * Improvements to mode customizations * Start organizing customizations * Misc fixes for a customization demo page * Security fixes * PR requested changes to naming
22 lines
813 B
Plaintext
22 lines
813 B
Plaintext
// Example URL-loaded customization: ctPresets
|
|
//
|
|
// Replaces the CT window/level presets offered in the window-level menu with a
|
|
// site-specific set (key: `cornerstone.windowLevelPresets`). Other modalities
|
|
// keep their defaults because only the `CT` entry is overridden.
|
|
//
|
|
// Load it with `?customization=tools/ctPresets`.
|
|
{
|
|
"global": {
|
|
"cornerstone.windowLevelPresets": {
|
|
"$merge": {
|
|
"CT": [
|
|
{ "id": "ct-soft-tissue", "description": "Soft tissue", "window": "400", "level": "40" },
|
|
{ "id": "ct-lung", "description": "Lung", "window": "1500", "level": "-600" },
|
|
{ "id": "ct-angio", "description": "Angio", "window": "600", "level": "300" },
|
|
{ "id": "ct-bone", "description": "Bone", "window": "2500", "level": "480" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|