File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
src/components/Preview/displays Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ const COLOR_MAP_LIST = [
3939
4040const DISPLAY_TYPE_LIST = [
4141 DisplayType . IMG4096 ,
42- DisplayType . ZMap ,
42+ DisplayType . ZMap5 ,
43+ DisplayType . ZMap10 ,
4344 DisplayType . Label ,
4445 DisplayType . IMG256 ,
4546 DisplayType . IMG65536 ,
@@ -51,10 +52,15 @@ const DISPLAY_TYPE_MAP: DisplayTypeMap = {
5152 calMin : 0 ,
5253 calMax : 4096 ,
5354 } ,
54- [ DisplayType . ZMap ] : {
55+ [ DisplayType . ZMap5 ] : {
5556 colorMap : DisplayColorMap . NIH ,
56- calMin : - 4 ,
57- calMax : 4 ,
57+ calMin : - 5 ,
58+ calMax : 5 ,
59+ } ,
60+ [ DisplayType . ZMap10 ] : {
61+ colorMap : DisplayColorMap . NIH ,
62+ calMin : - 10 ,
63+ calMax : 10 ,
5864 } ,
5965 [ DisplayType . Label ] : {
6066 colorMap : DisplayColorMap . Freesurfer ,
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ export type CrosshairLocation = {
1111
1212export enum DisplayType {
1313 IMG4096 = "img-4096" ,
14- ZMap = "zmap" ,
14+ ZMap5 = "zmap-5" ,
15+ ZMap10 = "zmap-10" ,
1516 Label = "label" ,
1617 IMG256 = "img-256" ,
1718 IMG65536 = "img-65536" ,
You can’t perform that action at this time.
0 commit comments