diff --git a/.gitattributes b/.gitattributes index 2b57d31..d85dd07 100644 --- a/.gitattributes +++ b/.gitattributes @@ -110,3 +110,15 @@ invesalius/reader/dicom.py -text invesalius/reader/dicom_grouper.py -text invesalius/reader/dicom_reader.py -text invesalius/utils.py -text +presets/raycasting/Airways[!!-~]II.plist -text +presets/raycasting/Airways.plist -text +presets/raycasting/Bone[!!-~]+[!!-~]Skin[!!-~]II.plist -text +presets/raycasting/Bone[!!-~]+[!!-~]Skin.plist -text +presets/raycasting/Dark[!!-~]Bone.plist -text +presets/raycasting/Gold[!!-~]Bone.plist -text +presets/raycasting/Skin[!!-~]On[!!-~]Blue[!!-~]II.plist -text +presets/raycasting/Skin[!!-~]On[!!-~]Blue.plist -text +presets/raycasting/Soft[!!-~]+[!!-~]Skin[!!-~]II.plist -text +presets/raycasting/Soft[!!-~]+[!!-~]Skin[!!-~]III.plist -text +presets/raycasting/Soft[!!-~]+[!!-~]Skin.plist -text +presets/raycasting/Yellow[!!-~]Bone.plist -text diff --git a/presets/raycasting/Airways II.plist b/presets/raycasting/Airways II.plist new file mode 100644 index 0000000..3e148da --- /dev/null +++ b/presets/raycasting/Airways II.plist @@ -0,0 +1,102 @@ + + + + + 16bitClutColors + + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + + 16bitClutCurves + + + + x + -742.113037109375 + y + 0.0 + + + x + -682.990966796875 + y + 0.049316491931676865 + + + x + -480.99169921875 + y + 0.24969108402729034 + + + x + -333.48757934570312 + y + 0.0 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Soft Tissue CT + name + Airways II + opacity + Logarithmic Inverse Table + projection + 1 + shading + Endoscopy + useShading + + wl + -537.80029296875 + ww + 408.62545776367188 + + diff --git a/presets/raycasting/Airways.plist b/presets/raycasting/Airways.plist new file mode 100644 index 0000000..154d754 --- /dev/null +++ b/presets/raycasting/Airways.plist @@ -0,0 +1,102 @@ + + + + + 16bitClutColors + + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + + 16bitClutCurves + + + + x + -643.78106689453125 + y + 0.0 + + + x + -584.65887451171875 + y + 0.26931655406951904 + + + x + -382.65924072265625 + y + 0.46969130635261536 + + + x + -235.1552734375 + y + 0.0 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Soft Tissue CT + name + Airways + opacity + Logarithmic Inverse Table + projection + 1 + shading + Endoscopy + useShading + + wl + -439.46817016601562 + ww + 408.62579345703125 + + diff --git a/presets/raycasting/Bone + Skin II.plist b/presets/raycasting/Bone + Skin II.plist new file mode 100644 index 0000000..00098af --- /dev/null +++ b/presets/raycasting/Bone + Skin II.plist @@ -0,0 +1,176 @@ + + + + + 16bitClutColors + + + + blue + 1 + green + 0.99420160055160522 + red + 0.071976803243160248 + + + blue + 1 + green + 0.99420160055160522 + red + 0.071976803243160248 + + + blue + 1 + green + 0.99420160055160522 + red + 0.071976803243160248 + + + blue + 1 + green + 0.99420160055160522 + red + 0.071976803243160248 + + + blue + 1 + green + 0.99420160055160522 + red + 0.071976803243160248 + + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.0 + red + 1 + + + blue + 0.0 + green + 0.99920654296875 + red + 1 + + + blue + 1 + green + 1 + red + 1 + + + + 16bitClutCurves + + + + x + -713.843994140625 + y + 0.0 + + + x + -653.980712890625 + y + 0.20899984240531921 + + + x + -640.249267578125 + y + 0.28999966382980347 + + + x + -590.3348388671875 + y + 0.20899984240531921 + + + x + -544.6475830078125 + y + 0.20899984240531921 + + + + + x + 66.7259521484375 + y + 0.0 + + + x + 84.34326171875 + y + 0.18899966776371002 + + + x + 366.8341064453125 + y + 0.6449999213218689 + + + x + 1585.4342041015625 + y + 0.78899979591369629 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Bone CT + name + Bone + Skin II + opacity + Logarithmic Inverse Table + projection + 1 + shading + Default + useShading + + wl + -629.24578857421875 + ww + 169.1964111328125 + + diff --git a/presets/raycasting/Bone + Skin.plist b/presets/raycasting/Bone + Skin.plist new file mode 100644 index 0000000..0647736 --- /dev/null +++ b/presets/raycasting/Bone + Skin.plist @@ -0,0 +1,176 @@ + + + + + 16bitClutColors + + + + blue + 0.0 + green + 0.42801555991172791 + red + 0.0 + + + blue + 0.0 + green + 0.42801555991172791 + red + 0.0 + + + blue + 0.0 + green + 0.42801555991172791 + red + 0.0 + + + blue + 0.0 + green + 0.42801555991172791 + red + 0.0 + + + blue + 0.0 + green + 0.42801555991172791 + red + 0.0 + + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.0 + red + 1 + + + blue + 0.0 + green + 0.99920654296875 + red + 1 + + + blue + 1 + green + 1 + red + 1 + + + + 16bitClutCurves + + + + x + -713.843994140625 + y + 0.0 + + + x + -653.980712890625 + y + 0.20899984240531921 + + + x + -640.249267578125 + y + 0.28999966382980347 + + + x + -590.3348388671875 + y + 0.20899984240531921 + + + x + -544.6475830078125 + y + 0.20899984240531921 + + + + + x + 72.294891357421875 + y + 0.0 + + + x + 164.57276916503906 + y + 0.33399978280067444 + + + x + 262.6788330078125 + y + 0.33399978280067444 + + + x + 333.10153198242188 + y + 0.33399978280067444 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Bone CT + name + Bone + Skin + opacity + Logarithmic Inverse Table + projection + 1 + shading + Default + useShading + + wl + -629.24578857421875 + ww + 169.1964111328125 + + diff --git a/presets/raycasting/Dark Bone.plist b/presets/raycasting/Dark Bone.plist new file mode 100644 index 0000000..fbc06df --- /dev/null +++ b/presets/raycasting/Dark Bone.plist @@ -0,0 +1,146 @@ + + + + + 16bitClutColors + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 1 + green + 1 + red + 1 + + + blue + 0.20000000298023224 + green + 0.20000000298023224 + red + 0.20000000298023224 + + + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + + 16bitClutCurves + + + + x + 46.733612060546875 + y + 0.0 + + + x + 134.97621154785156 + y + 0.25999999046325684 + + + x + 244.72689819335938 + y + 0.5300024151802063 + + + + + x + -812.04962158203125 + y + 0.0 + + + x + -622.0498046875 + y + 0.1643165796995163 + + + x + -420.04998779296875 + y + 0.36469146609306335 + + + x + -262.84738159179688 + y + 0.0 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 1 + backgroundColorGreenComponent + 1 + backgroundColorRedComponent + 1 + convolutionFilters + + groupName + Bone CT + name + Dark Bone + opacity + Linear Table + projection + 1 + shading + Default + useShading + + wl + 145.73025512695312 + ww + 197.9932861328125 + + diff --git a/presets/raycasting/Gold Bone.plist b/presets/raycasting/Gold Bone.plist new file mode 100644 index 0000000..47f46c9 --- /dev/null +++ b/presets/raycasting/Gold Bone.plist @@ -0,0 +1,148 @@ + + + + + 16bitClutColors + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.9992523193359375 + red + 1 + + + blue + 0.0 + green + 0.9992523193359375 + red + 1 + + + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + + 16bitClutCurves + + + + x + -104.603271484375 + y + 0.0 + + + x + 266.51864624023438 + y + 0.25999999046325684 + + + x + 728.0977783203125 + y + 0.5300024151802063 + + + + + x + -812.04962158203125 + y + 0.0 + + + x + -622.0498046875 + y + 0.1643165796995163 + + + x + -420.04998779296875 + y + 0.36469146609306335 + + + x + -262.84738159179688 + y + 0.0 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Bone CT + name + Gold Bone + opacity + Linear Table + projection + 1 + shading + Glossy Bone + useShading + + wl + 311.74725341796875 + ww + 832.7010498046875 + + diff --git a/presets/raycasting/Skin On Blue II.plist b/presets/raycasting/Skin On Blue II.plist new file mode 100644 index 0000000..ed751d8 --- /dev/null +++ b/presets/raycasting/Skin On Blue II.plist @@ -0,0 +1,162 @@ + + + + + 16bitClutColors + + + + blue + 1 + green + 1 + red + 0.98785382509231567 + + + blue + 1 + green + 1 + red + 0.98785382509231567 + + + blue + 1 + green + 1 + red + 0.98785382509231567 + + + blue + 1 + green + 1 + red + 0.98785382509231567 + + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.0 + red + 1 + + + blue + 0.0 + green + 0.99920654296875 + red + 1 + + + blue + 1 + green + 1 + red + 1 + + + + 16bitClutCurves + + + + x + -923.2498779296875 + y + 0.0 + + + x + -733.2503662109375 + y + 0.086646988987922668 + + + x + -531.25048828125 + y + 0.27084481716156006 + + + x + -372.8206787109375 + y + 0.0 + + + + + x + 142.259033203125 + y + 0.0 + + + x + 332.25927734375 + y + 0.3633459210395813 + + + x + 534.2587890625 + y + 0.56372088193893433 + + + x + 679.2587890625 + y + 0.96987384557723999 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 1 + backgroundColorGreenComponent + 0.97856110334396362 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Soft Tissue CT + name + Skin On Blue II + opacity + Linear Table + projection + 1 + shading + Default + useShading + + wl + -648.0352783203125 + ww + 550.42919921875 + + diff --git a/presets/raycasting/Skin On Blue.plist b/presets/raycasting/Skin On Blue.plist new file mode 100644 index 0000000..e44756b --- /dev/null +++ b/presets/raycasting/Skin On Blue.plist @@ -0,0 +1,162 @@ + + + + + 16bitClutColors + + + + blue + 1 + green + 1 + red + 0.98785382509231567 + + + blue + 1 + green + 1 + red + 0.98785382509231567 + + + blue + 1 + green + 1 + red + 0.98785382509231567 + + + blue + 1 + green + 1 + red + 0.98785382509231567 + + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.0 + red + 1 + + + blue + 0.0 + green + 0.99920654296875 + red + 1 + + + blue + 1 + green + 1 + red + 1 + + + + 16bitClutCurves + + + + x + -923.2498779296875 + y + 0.0 + + + x + -733.2503662109375 + y + 0.086646988987922668 + + + x + -531.25048828125 + y + 0.27084481716156006 + + + x + -372.8206787109375 + y + 0.0 + + + + + x + 142.259033203125 + y + 0.0 + + + x + 332.25927734375 + y + 0.3633459210395813 + + + x + 534.2587890625 + y + 0.56372088193893433 + + + x + 679.2587890625 + y + 0.96987384557723999 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 1 + backgroundColorGreenComponent + 0.97856110334396362 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Soft Tissue CT + name + Skin On Blue + opacity + Linear Table + projection + 1 + shading + Default + useShading + + wl + -648.0352783203125 + ww + 550.42919921875 + + diff --git a/presets/raycasting/Soft + Skin II.plist b/presets/raycasting/Soft + Skin II.plist new file mode 100644 index 0000000..9d3d123 --- /dev/null +++ b/presets/raycasting/Soft + Skin II.plist @@ -0,0 +1,162 @@ + + + + + 16bitClutColors + + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.0 + red + 1 + + + blue + 0.0 + green + 0.99920654296875 + red + 1 + + + blue + 1 + green + 1 + red + 1 + + + + 16bitClutCurves + + + + x + -643.78106689453125 + y + 0.0 + + + x + -584.65887451171875 + y + 0.26931655406951904 + + + x + -382.65924072265625 + y + 0.46969130635261536 + + + x + -235.1552734375 + y + 0.0 + + + + + x + -75.40606689453125 + y + 0.0 + + + x + 114.5941162109375 + y + 0.27931660413742065 + + + x + 316.5936279296875 + y + 0.28899994492530823 + + + x + 461.59375 + y + 0.28899994492530823 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Soft Tissue CT + name + Soft + Skin II + opacity + Logarithmic Inverse Table + projection + 1 + shading + Endoscopy + useShading + + wl + -439.46817016601562 + ww + 408.62579345703125 + + diff --git a/presets/raycasting/Soft + Skin III.plist b/presets/raycasting/Soft + Skin III.plist new file mode 100644 index 0000000..ba2fc82 --- /dev/null +++ b/presets/raycasting/Soft + Skin III.plist @@ -0,0 +1,162 @@ + + + + + 16bitClutColors + + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + blue + 0.70577555894851685 + green + 0.60537117719650269 + red + 0.0 + + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.0 + red + 1 + + + blue + 0.0 + green + 0.99920654296875 + red + 1 + + + blue + 1 + green + 1 + red + 1 + + + + 16bitClutCurves + + + + x + -643.78106689453125 + y + 0.0 + + + x + -584.65887451171875 + y + 0.26931655406951904 + + + x + -382.65924072265625 + y + 0.46969130635261536 + + + x + -235.1552734375 + y + 0.0 + + + + + x + -75.40606689453125 + y + 0.0 + + + x + 114.5941162109375 + y + 0.27931660413742065 + + + x + 316.5936279296875 + y + 0.28899994492530823 + + + x + 461.59375 + y + 0.28899994492530823 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Soft Tissue CT + name + Soft + Skin III + opacity + Logarithmic Inverse Table + projection + 1 + shading + Endoscopy + useShading + + wl + -439.46817016601562 + ww + 408.62579345703125 + + diff --git a/presets/raycasting/Soft + Skin.plist b/presets/raycasting/Soft + Skin.plist new file mode 100644 index 0000000..589434a --- /dev/null +++ b/presets/raycasting/Soft + Skin.plist @@ -0,0 +1,162 @@ + + + + + 16bitClutColors + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.0 + red + 1 + + + blue + 0.0 + green + 0.99920654296875 + red + 1 + + + blue + 1 + green + 1 + red + 1 + + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.0 + red + 1 + + + blue + 0.0 + green + 0.99920654296875 + red + 1 + + + blue + 1 + green + 1 + red + 1 + + + + 16bitClutCurves + + + + x + -643.78106689453125 + y + 0.0 + + + x + -584.65887451171875 + y + 0.26931655406951904 + + + x + -382.65924072265625 + y + 0.46969130635261536 + + + x + -237.65838623046875 + y + 0.51899993419647217 + + + + + x + -75.40606689453125 + y + 0.0 + + + x + 114.5941162109375 + y + 0.27931660413742065 + + + x + 316.5936279296875 + y + 0.28899994492530823 + + + x + 461.59375 + y + 0.28899994492530823 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + Basic Smooth 5x5 + + groupName + Soft Tissue CT + name + Soft + Skin + opacity + Logarithmic Inverse Table + projection + 1 + shading + Endoscopy + useShading + + wl + -440.7197265625 + ww + 406.1226806640625 + + diff --git a/presets/raycasting/Yellow Bone.plist b/presets/raycasting/Yellow Bone.plist new file mode 100644 index 0000000..8ba1232 --- /dev/null +++ b/presets/raycasting/Yellow Bone.plist @@ -0,0 +1,146 @@ + + + + + 16bitClutColors + + + + blue + 0.0 + green + 0.0 + red + 0.0 + + + blue + 0.0 + green + 0.9992523193359375 + red + 1 + + + blue + 0.0 + green + 0.9992523193359375 + red + 1 + + + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + blue + 1 + green + 1 + red + 0.0 + + + + 16bitClutCurves + + + + x + 50.7359619140625 + y + 0.0 + + + x + 123.51995849609375 + y + 0.25999999046325684 + + + x + 214.0443115234375 + y + 0.5300024151802063 + + + + + x + -812.04962158203125 + y + 0.0 + + + x + -622.0498046875 + y + 0.1643165796995163 + + + x + -420.04998779296875 + y + 0.36469146609306335 + + + x + -262.84738159179688 + y + 0.0 + + + + CLUT + 16-bit CLUT + advancedCLUT + + backgroundColorBlueComponent + 0.0 + backgroundColorGreenComponent + 0.0 + backgroundColorRedComponent + 0.0 + convolutionFilters + + groupName + Bone CT + name + Yellow Bone + opacity + Linear Table + projection + 1 + shading + Default + useShading + + wl + 132.39013671875 + ww + 163.308349609375 + + -- libgit2 0.21.2