Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KIT-Sch-GE
2021 Cell Tracking
Commits
4de05477
Commit
4de05477
authored
Dec 06, 2021
by
katharina.loeffler
Browse files
catch case no object segmented in frame
parent
a6c3ba3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tracker/tracking.py
View file @
4de05477
...
...
@@ -74,7 +74,8 @@ class MultiCellTracker:
segmentation
,
mask_indices
=
self
.
config
.
get_segmentation_masks
(
time
)
# initialize tracklets
for
m_id
,
mask
in
mask_indices
.
items
():
for
m_id
in
mask_indices
.
index
.
values
:
mask
=
mask_indices
[
m_id
]
m
=
np
.
array
(
mask
)
box_shape
=
np
.
max
(
m
,
axis
=-
1
)
-
np
.
min
(
m
,
axis
=-
1
)
+
1
box_shape
=
[
max
(
a
,
b
)
for
a
,
b
in
zip
(
box_shape
,
self
.
config
.
roi_box_size
)]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment