@@ -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 > = {
@@ -296,20 +290,8 @@ export const ACTION_TO_KEY = {
296290export const DEFAULT_SEGMENT_MASKS : SegmentMask [ ] = [
297291 {
298292 value : 1 ,
299- name : 'Tissue' ,
300- color : [ 255 , 0 , 0 , 255 ] ,
301- visible : true ,
302- } ,
303- {
304- value : 2 ,
305- name : 'Liver' ,
306- color : [ 0 , 255 , 0 , 255 ] ,
307- visible : true ,
308- } ,
309- {
310- value : 3 ,
311- name : 'Heart' ,
312- color : [ 0 , 0 , 255 , 255 ] ,
293+ name : 'Segment 1' ,
294+ color : [ 255 , 255 , 0 , 255 ] ,
313295 visible : true ,
314296 } ,
315297] ;
0 commit comments