WindowLevelList

Example contents

WindowLevel ={
Name = "Abdomen";
Window = 400;
Level = 800;
};
WindowLevel ={
Name = "Bone";
Window = 1400;
Level = 700;
};
WindowLevel ={
Name = "Breast";
Window = 400;
Level = 750;
};
WindowLevel ={
Name = "FDG";
Window = 45;
Level = 0;
};
WindowLevel ={
Name = "Head";
Window = 180;
Level = 950;
};
WindowLevel ={
Name = "Lung";
Window = 1600;
Level = -300;
};
WindowLevel ={
Name = "MR1";
Window = 700;
Level = 0;
};
WindowLevel ={
Name = "MR2";
Window = 550;
Level = 50;
};
WindowLevel ={
Name = "Neck";
Window = 325;
Level = 900;
};
WindowLevel ={
Name = "Pelvis";
Window = 500;
Level = 750;
};
WindowLevel ={
Name = "Thorax";
Window = 400;
Level = 800;
};
WindowLevel ={
Name = "Ultrasound";
Window = 200;
Level = 0;
};

Access WindowLevelList preset data

InfoMessage = WindowLevelList.Current.Name; //Shows active window/level preset
InfoMessage = WindowLevelList.Current.Window;// Shows active window value
InfoMessage = WindowLevelList.Current.Level;// Shows active level value

Set WindowLevelList preset

//Loads "Lung" preset window/level values
VolumeList.Current.LoadWindowLevelPreset = "Lung"; 
WindowLevelList.Current="Lung";
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License