Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SLIC - SuperPixels
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bioimage Analysis
SLIC - SuperPixels
Commits
d7ceacc2
Commit
d7ceacc2
authored
6 years ago
by
Daniel Felipe González Obando
Browse files
Options
Downloads
Patches
Plain Diff
loading class for Point2i from icy vecmath
parent
49a276f5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SLIC/src/plugins/danyfel80/islic/SLIC.java
+14
-5
14 additions, 5 deletions
SLIC/src/plugins/danyfel80/islic/SLIC.java
with
14 additions
and
5 deletions
SLIC/src/plugins/danyfel80/islic/SLIC.java
+
14
−
5
View file @
d7ceacc2
...
...
@@ -10,13 +10,22 @@ import plugins.adufour.ezplug.EzVarSequence;
public
class
SLIC
extends
EzPlug
{
private
EzVarSequence
inSequence
;
private
EzVarInteger
inSPSize
;
private
EzVarDouble
inSPReg
;
private
EzVarBoolean
inIsROIOutput
;
private
EzVarSequence
inSequence
;
private
EzVarInteger
inSPSize
;
private
EzVarDouble
inSPReg
;
private
EzVarBoolean
inIsROIOutput
;
@Override
protected
void
initialize
()
{
try
{
Class
.
forName
(
"javax.vecmath.Point2i"
);
Class
.
forName
(
"javax.vecmath.Point3d"
);
Class
.
forName
(
"javax.vecmath.Point3i"
);
Class
.
forName
(
"javax.vecmath.Vector3d"
);
}
catch
(
ClassNotFoundException
e
)
{
System
.
err
.
println
(
"Could not load proper vecmath version: "
+
e
);
e
.
printStackTrace
();
}
inSequence
=
new
EzVarSequence
(
"Sequence"
);
inSPSize
=
new
EzVarInteger
(
"Superpixel size"
);
inSPReg
=
new
EzVarDouble
(
"Superpixels regularity"
);
...
...
@@ -52,7 +61,7 @@ public class SLIC extends EzPlug {
MessageDialog
.
ERROR_MESSAGE
);
return
;
}
endTime
=
System
.
currentTimeMillis
();
procTime
=
endTime
-
startTime
;
MessageDialog
.
showDialog
(
String
.
format
(
"SLIC finished in %d milliseconds"
,
procTime
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment