Wiki source code of 1. Image preprocessing
Last modified by rbakker on 2023/07/17 12:35
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
3.1 | 1 | == Image preprocessing == |
| |
1.1 | 2 | |
| 3 | |||
| |
2.1 | 4 | To ensure consistent performance of our tools on a variety of images, we apply a standard preprocessing strategy that consists of the following steps: |
| |
1.1 | 5 | |
| |
2.1 | 6 | * Invert so that background is black |
| 7 | * Remove background gradient, by fitting a linear model through points sampled just outside the tissue | ||
| 8 | * Remove background with OneCut (optional) | ||
| 9 | * Enhance contrast with CLAHE (optional) | ||
| 10 | * Resize images to common size | ||
| 11 | * Center images | ||
| |
1.1 | 12 | |
| |
2.1 | 13 | The steps are implemented as part of the registration pipeline collab: |
| |
1.1 | 14 | |
| |
2.1 | 15 | [[https:~~/~~/drive.ebrains.eu/d/67ca7ef8c35b45ec99b9/>>https://drive.ebrains.eu/d/67ca7ef8c35b45ec99b9/]] |