Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bioimage Analysis
ROI blocks
Commits
69310651
Commit
69310651
authored
Jan 20, 2022
by
Stéphane DALLONGEVILLE
Browse files
fixed small issue with seed parameter on watershed separation
parent
68a3cb16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/plugins/stef/roi/bloc/op/SeparateROIWatershed.java
View file @
69310651
...
...
@@ -13,6 +13,7 @@ import icy.plugin.interface_.PluginLibrary;
import
icy.roi.ROI
;
import
icy.roi.ROIUtil
;
import
icy.system.IcyHandledException
;
import
icy.type.collection.CollectionUtil
;
import
icy.type.dimension.Dimension3D
;
import
icy.type.dimension.Dimension5D
;
import
icy.type.rectangle.Rectangle5D
;
...
...
@@ -69,7 +70,7 @@ public class SeparateROIWatershed extends Plugin implements ROIBlock, PluginLibr
{
if
(
seeds
!=
null
&&
seeds
.
length
>
0
)
{
seedList
=
Array
s
.
as
List
(
seeds
);
seedList
=
CollectionUtil
.
as
ArrayList
(
seeds
);
result
=
ROIUtil
.
computeWatershedSeparation
(
Arrays
.
asList
(
rois
),
seedList
,
getDimensionSize
(
rois
),
new
Dimension3D
.
Double
(
1
d
,
1
d
,
1
d
));
}
...
...
Write
Preview
Markdown
is supported
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