Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
MosaicSuite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sbalzarini Lab
MosaicSuite
Commits
ed95294f
Commit
ed95294f
authored
Jun 19, 2018
by
gonciarz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mask can be now set via API
parent
f8805198
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
src/main/java/mosaic/ia/gui/InteractionAnalysisGui.java
src/main/java/mosaic/ia/gui/InteractionAnalysisGui.java
+6
-13
No files found.
src/main/java/mosaic/ia/gui/InteractionAnalysisGui.java
View file @
ed95294f
...
...
@@ -412,7 +412,12 @@ public class InteractionAnalysisGui extends InteractionAnalysisGuiBase {
return
tempImg
;
}
private
void
resetMask
()
{
public
void
setMask
(
ImagePlus
aProvidedMask
)
{
iMaskImg
=
aProvidedMask
;
maskPane
.
setTitleAt
(
0
,
"Mask: "
+
iMaskImg
.
getTitle
());
}
public
void
resetMask
()
{
iMaskImg
=
null
;
maskPane
.
setTitleAt
(
0
,
"Mask: <empty>"
);
}
...
...
@@ -436,16 +441,4 @@ public class InteractionAnalysisGui extends InteractionAnalysisGuiBase {
return
image3d
;
}
static
Point3d
[]
filter
(
double
maxx
,
double
maxy
,
Point3d
[]
input
)
{
ArrayList
<
Point3d
>
out
=
new
ArrayList
<>(
input
.
length
);
for
(
Point3d
p
:
input
)
{
if
(
p
.
x
<=
maxx
&&
p
.
y
<=
maxy
)
{
out
.
add
(
p
);
}
}
return
out
.
toArray
(
new
Point3d
[
0
]);
}
}
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