Commit e4527ba
authored
find_spots: Exclude masked pixels from erosion check (dials#2790)
In order to prevent erroneous spot erasure, as seen in dials#2785.
Set masked pixels to 'true' in the dispersion threshold mask so that they
do not affect erosion and erode from masked regions as if they were
background.
Closes dials#2785.1 parent b59bf96 commit e4527ba
File tree
3 files changed
+23
-3
lines changed- newsfragments
- src/dials/algorithms/image/threshold
3 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
905 | 911 | | |
906 | 912 | | |
907 | 913 | | |
| |||
1094 | 1100 | | |
1095 | 1101 | | |
1096 | 1102 | | |
1097 | | - | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
1098 | 1110 | | |
1099 | 1111 | | |
1100 | 1112 | | |
| |||
1165 | 1177 | | |
1166 | 1178 | | |
1167 | 1179 | | |
1168 | | - | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1169 | 1187 | | |
1170 | 1188 | | |
1171 | 1189 | | |
| |||
0 commit comments