Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Label Extractor
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
Package Registry
Container Registry
Operate
Environments
Terraform modules
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
Label Extractor
Commits
c645617e
Commit
c645617e
authored
4 years ago
by
Amandine TOURNAY
Browse files
Options
Downloads
Patches
Plain Diff
Fixed Javadoc errors
parent
d5549d75
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pom.xml
+1
-1
1 addition, 1 deletion
pom.xml
src/main/java/plugins/adufour/roi/LabelExtractor.java
+8
-8
8 additions, 8 deletions
src/main/java/plugins/adufour/roi/LabelExtractor.java
with
9 additions
and
9 deletions
pom.xml
+
1
−
1
View file @
c645617e
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</parent>
</parent>
<artifactId>
icy-label-extractor
</artifactId>
<artifactId>
icy-label-extractor
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/plugins/adufour/roi/LabelExtractor.java
+
8
−
8
View file @
c645617e
...
@@ -23,7 +23,7 @@ import plugins.kernel.roi.roi3d.ROI3DArea;
...
@@ -23,7 +23,7 @@ import plugins.kernel.roi.roi3d.ROI3DArea;
/**
/**
* Toolbox to extract regions of interest (ROI) from a labeled image or sequence based on its
* Toolbox to extract regions of interest (ROI) from a labeled image or sequence based on its
* connected components.<br
/
>
* connected components.<br>
* This toolbox supersedes the connected components toolbox
* This toolbox supersedes the connected components toolbox
*
*
* @author Alexandre Dufour
* @author Alexandre Dufour
...
@@ -48,12 +48,12 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
...
@@ -48,12 +48,12 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
public
enum
ExtractionType
public
enum
ExtractionType
{
{
/**
/**
* Extract all connected components with a value that is different from the background.<br
/
>
* Extract all connected components with a value that is different from the background.<br>
* NB: Touching components with different labels will be <u>fused together</u>
* NB: Touching components with different labels will be <u>fused together</u>
*/
*/
ANY_LABEL_VS_BACKGROUND
,
ANY_LABEL_VS_BACKGROUND
,
/**
/**
* Extract all connected components with a value that is different from the background.<br
/
>
* Extract all connected components with a value that is different from the background.<br>
* NB: Touching components with different labels are extracted <u>separately</u>
* NB: Touching components with different labels are extracted <u>separately</u>
*/
*/
ALL_LABELS_VS_BACKGROUND
,
ALL_LABELS_VS_BACKGROUND
,
...
@@ -178,7 +178,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
...
@@ -178,7 +178,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
* available options
* available options
* @param value
* @param value
* this value is interpreted differently depending on the <code>whatToExtract</code>
* this value is interpreted differently depending on the <code>whatToExtract</code>
* parameter:<br
/
>
* parameter:<br>
* <ul>
* <ul>
* <li>{@link ExtractionType#ALL_LABELS_VS_BACKGROUND}: the value is that of the
* <li>{@link ExtractionType#ALL_LABELS_VS_BACKGROUND}: the value is that of the
* background</li>
* background</li>
...
@@ -187,7 +187,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
...
@@ -187,7 +187,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
* <li>{@link ExtractionType#SPECIFIC_LABEL}: the value is that of the structures to
* <li>{@link ExtractionType#SPECIFIC_LABEL}: the value is that of the structures to
* extract</li>
* extract</li>
* </ul>
* </ul>
* @return
* @return
List of ROI
*/
*/
public
static
List
<
ROI
>
extractLabels
(
Sequence
sequence
,
ExtractionType
whatToExtract
,
double
value
)
public
static
List
<
ROI
>
extractLabels
(
Sequence
sequence
,
ExtractionType
whatToExtract
,
double
value
)
{
{
...
@@ -214,7 +214,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
...
@@ -214,7 +214,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
* Extract ROI in the specified sequence though its connected components (8-connectivity is
* Extract ROI in the specified sequence though its connected components (8-connectivity is
* considered in 2D, and 26-connectivity in 3D). The algorithm uses a fast single-pass sweeping
* considered in 2D, and 26-connectivity in 3D). The algorithm uses a fast single-pass sweeping
* technique that builds a list of intermediate connected components which are eventually fused
* technique that builds a list of intermediate connected components which are eventually fused
* according to their connectivity.<br
/
>
* according to their connectivity.<br>
* NB: in 3D, the algorithm caches some intermediate buffers to disk to save RAM
* NB: in 3D, the algorithm caches some intermediate buffers to disk to save RAM
*
*
* @param sequence
* @param sequence
...
@@ -228,7 +228,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
...
@@ -228,7 +228,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
* available options
* available options
* @param value
* @param value
* this value is interpreted differently depending on the <code>whatToExtract</code>
* this value is interpreted differently depending on the <code>whatToExtract</code>
* parameter:<br
/
>
* parameter:<br>
* <ul>
* <ul>
* <li>{@link ExtractionType#ALL_LABELS_VS_BACKGROUND}: the value is that of the
* <li>{@link ExtractionType#ALL_LABELS_VS_BACKGROUND}: the value is that of the
* background</li>
* background</li>
...
@@ -237,7 +237,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
...
@@ -237,7 +237,7 @@ public class LabelExtractor extends EzPlug implements Block, EzStoppable
* <li>{@link ExtractionType#SPECIFIC_LABEL}: the value is that of the structures to
* <li>{@link ExtractionType#SPECIFIC_LABEL}: the value is that of the structures to
* extract</li>
* extract</li>
* </ul>
* </ul>
* @return
* @return
List of ROI
*/
*/
public
static
List
<
ROI
>
extractLabels
(
Sequence
sequence
,
int
t
,
int
c
,
ExtractionType
whatToExtract
,
double
value
)
public
static
List
<
ROI
>
extractLabels
(
Sequence
sequence
,
int
t
,
int
c
,
ExtractionType
whatToExtract
,
double
value
)
{
{
...
...
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