Configuration Reference
All tuneable parameters live in core/config.py. Edit that file before
running a registration pipeline.
File paths
Parameter |
Description |
|---|---|
|
Absolute path to the moving (source) whole-slide image ( |
|
Absolute path to the fixed (target) whole-slide image ( |
|
Path to a pre-computed nuclei CSV for the fixed image (optional). |
|
Path to a pre-computed nuclei CSV for the moving image (optional). |
Each CSV must contain at least the columns global_x and global_y
(nucleus centroid coordinates in pixels at REGISTRATION_RESOLUTION).
An optional area column enables shape-aware registration.
Resolution parameters
Parameter |
Description |
|---|---|
|
Objective power (magnification) at which WSIs are loaded for coarse
rigid and elastic registration. Default: |
|
Objective power (magnification) at which nuclei are detected and
fine shape-aware registration is performed. Default: |
REGISTRATION_RESOLUTION must be strictly greater than
PREPROCESSING_RESOLUTION.
Patch parameters
Parameter |
Description |
|---|---|
|
|
|
Stride between patches. Default: |
|
Canvas size for visualisation output. Default: |
Nuclei detection parameters
Parameter |
Description |
|---|---|
|
Binarisation threshold for the fixed image (0–255). Default: |
|
Binarisation threshold for the moving image (0–255). Default: |
|
Minimum nucleus area in pixels². Default: |
|
Gamma value applied before nuclei detection. Default: |