Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 5 additions & 23 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,21 +237,15 @@ export const TOOL_COLORS = [
export const STROKE_WIDTH_ANNOTATION_TOOL_DEFAULT = 1;

export const RULER_LABEL_DEFAULTS = {
red: { color: 'red' },
green: { color: '#00ff00' },
white: { color: '#ffffff' },
'Label 1': { color: 'red' },
};

export const RECTANGLE_LABEL_DEFAULTS = {
artifact: { color: '#888888' },
innocuous: { color: '#00ff00' },
lesion: { color: 'red' },
'Label 1': { color: 'red' },
};

export const POLYGON_LABEL_DEFAULTS = {
red: { color: 'red' },
green: { color: '#00ff00' },
white: { color: '#ffffff' },
'Label 1': { color: 'red' },
};

export const DEFAULT_PRESET_BY_MODALITY: Record<string, string> = {
Expand Down Expand Up @@ -296,20 +290,8 @@ export const ACTION_TO_KEY = {
export const DEFAULT_SEGMENT_MASKS: SegmentMask[] = [
{
value: 1,
name: 'Tissue',
color: [255, 0, 0, 255],
visible: true,
},
{
value: 2,
name: 'Liver',
color: [0, 255, 0, 255],
visible: true,
},
{
value: 3,
name: 'Heart',
color: [0, 0, 255, 255],
name: 'Segment 1',
color: [255, 255, 0, 255],
visible: true,
},
];
Expand Down
Loading