@@ -237,21 +237,15 @@ export const TOOL_COLORS = [
237237export const STROKE_WIDTH_ANNOTATION_TOOL_DEFAULT = 1 ;
238238
239239export const RULER_LABEL_DEFAULTS = {
240- red : { color : 'red' } ,
241- green : { color : '#00ff00' } ,
242- white : { color : '#ffffff' } ,
240+ 'Label 1' : { color : 'red' } ,
243241} ;
244242
245243export const RECTANGLE_LABEL_DEFAULTS = {
246- artifact : { color : '#888888' } ,
247- innocuous : { color : '#00ff00' } ,
248- lesion : { color : 'red' } ,
244+ 'Label 1' : { color : 'red' } ,
249245} ;
250246
251247export const POLYGON_LABEL_DEFAULTS = {
252- red : { color : 'red' } ,
253- green : { color : '#00ff00' } ,
254- white : { color : '#ffffff' } ,
248+ 'Label 1' : { color : 'red' } ,
255249} ;
256250
257251export const DEFAULT_PRESET_BY_MODALITY : Record < string , string > = {
@@ -297,20 +291,8 @@ export const ACTION_TO_KEY = {
297291export const DEFAULT_SEGMENT_MASKS : SegmentMask [ ] = [
298292 {
299293 value : 1 ,
300- name : 'Tissue' ,
301- color : [ 255 , 0 , 0 , 255 ] ,
302- visible : true ,
303- } ,
304- {
305- value : 2 ,
306- name : 'Liver' ,
307- color : [ 0 , 255 , 0 , 255 ] ,
308- visible : true ,
309- } ,
310- {
311- value : 3 ,
312- name : 'Heart' ,
313- color : [ 0 , 0 , 255 , 255 ] ,
294+ name : 'Segment 1' ,
295+ color : [ 255 , 255 , 0 , 255 ] ,
314296 visible : true ,
315297 } ,
316298] ;
0 commit comments