Skip to content

Commit

Permalink
Merge branch 'main' into interactive-segmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jwboth authored Nov 26, 2023
2 parents df5c55c + f0064a2 commit eb5d2ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/darsia/utils/extractcharacteristicdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def extract_characteristic_data(
)
index = np.unravel_index(H.argmax(), H.shape)
col = [
(edges[0][index[0]] + edges[0][index[0] + 1]) / 2,
(edges[1][index[1]] + edges[1][index[1] + 1]) / 2,
(edges[2][index[2]] + edges[2][index[2] + 1]) / 2,
edges[0][index[0]],
edges[1][index[1]],
edges[2][index[2]],
]
colours[i] = col

Expand Down

0 comments on commit eb5d2ea

Please sign in to comment.