-
Notifications
You must be signed in to change notification settings - Fork 9
/
models.ts
33 lines (31 loc) · 918 Bytes
/
models.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
export interface ISegmentationPreprocessingSettings {
channels_normalization?: string;
threshold?: boolean;
percentile?: number;
normalize: boolean;
kernel_size: number;
}
export interface ISegmentationPostprocessingSettings {
radius: number;
maxima_threshold: number;
interior_threshold: number;
small_objects_threshold: number;
fill_holes_threshold: number;
interior_model: string;
maxima_model: string;
interior_model_smooth: number;
maxima_model_smooth: number;
pixel_expansion: number | null;
}
export interface ISegmentationSubmission {
dataset_name: string | null;
dataset_description: string | null;
model_id: number;
compartment: string;
acquisition_ids: readonly number[];
channels: string[];
nuclei_channels: string[];
cytoplasm_channels: string[];
preprocessing: ISegmentationPreprocessingSettings;
postprocessing: ISegmentationPostprocessingSettings;
}