Skip to content

Commit 0c2deb0

Browse files
committed
feat(ColorMaps): Add inverted-grayscale sigmoid preset
1 parent 4dde193 commit 0c2deb0

File tree

1 file changed

+75
-1
lines changed

1 file changed

+75
-1
lines changed

Sources/Rendering/Core/ColorTransferFunction/ColorMaps.json

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,84 @@
605605
},
606606
{
607607
"ColorSpace" : "RGB",
608-
"Name" : "Inverted Grayscale",
608+
"Name" : "Inverted-Grayscale",
609609
"NanColor" : [ 1, 0, 0 ],
610610
"RGBPoints" : [ 0, 1, 1, 1, 1, 0, 0, 0 ]
611611
},
612+
{
613+
"ColorSpace" : "RGB",
614+
"Name" : "Inverted-Grayscale-DICOM-sigmoid",
615+
"Notes": "This is a 16 point sample of a sigmoid inverted-grayscale colormap described in the DICOM standard. See equation C.11-1 in section C.11.2",
616+
"BelowRangeColor" : [ 1, 1, 1 ],
617+
"AboveRangeColor" : [ 0, 0, 0 ],
618+
"NanColor" : [ 1, 0, 0 ],
619+
"RGBPoints" : [
620+
-1,
621+
0.9820137900379085,
622+
0.9820137900379085,
623+
0.9820137900379085,
624+
-0.8666666666666667,
625+
0.9697243080130495,
626+
0.9697243080130495,
627+
0.9697243080130495,
628+
-0.7333333333333334,
629+
0.9494698377645866,
630+
0.9494698377645866,
631+
0.9494698377645866,
632+
-0.6,
633+
0.9168273035060777,
634+
0.9168273035060777,
635+
0.9168273035060777,
636+
-0.4666666666666667,
637+
0.8660721116759263,
638+
0.8660721116759263,
639+
0.8660721116759263,
640+
-0.33333333333333337,
641+
0.791391472673955,
642+
0.791391472673955,
643+
0.791391472673955,
644+
-0.19999999999999996,
645+
0.6899744811276125,
646+
0.6899744811276125,
647+
0.6899744811276125,
648+
-0.06666666666666665,
649+
0.5662743941954391,
650+
0.5662743941954391,
651+
0.5662743941954391,
652+
0.06666666666666665,
653+
0.43372560580456077,
654+
0.43372560580456077,
655+
0.43372560580456077,
656+
0.19999999999999996,
657+
0.3100255188723875,
658+
0.3100255188723875,
659+
0.3100255188723875,
660+
0.33333333333333326,
661+
0.20860852732604496,
662+
0.20860852732604496,
663+
0.20860852732604496,
664+
0.46666666666666656,
665+
0.13392788832407365,
666+
0.13392788832407365,
667+
0.13392788832407365,
668+
0.6000000000000001,
669+
0.08317269649392234,
670+
0.08317269649392234,
671+
0.08317269649392234,
672+
0.7333333333333334,
673+
0.05053016223541351,
674+
0.05053016223541351,
675+
0.05053016223541351,
676+
0.8666666666666667,
677+
0.03027569198695046,
678+
0.03027569198695046,
679+
0.03027569198695046,
680+
1,
681+
0.01798620996209155,
682+
0.01798620996209155,
683+
0.01798620996209155
684+
]
685+
},
612686
{
613687
"ColorSpace" : "RGB",
614688
"Name" : "BkRd",

0 commit comments

Comments
 (0)