forked from brau-frederic/mica_omero
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,436 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,12 @@ | |
<parent> | ||
<artifactId>pom-scijava</artifactId> | ||
<groupId>org.scijava</groupId> | ||
<version>33.2.0</version> | ||
<version>37.0.0</version> | ||
</parent> | ||
|
||
<groupId>fr.igred</groupId> | ||
<artifactId>omero_batch-plugin</artifactId> | ||
<version>1.0.5</version> | ||
<version>2.0.0-SNAPSHOT</version> | ||
|
||
<name>omero_batch-plugin</name> | ||
<description>ImageJ plugin to batch process images from OMERO.</description> | ||
|
@@ -48,7 +48,7 @@ | |
<id>ppouchin</id> | ||
<name>Pierre Pouchin</name> | ||
<email>[email protected]</email> | ||
<url>https://www.igred.fr/directory/member/pierre-pouchin/</url> | ||
<url>https://www.igred.fr/en/member/pierre_pouchin/</url> | ||
<organization>GReD (INSERM U1103 / CNRS UMR 6293 / UCA)</organization> | ||
<organizationUrl>https://www.igred.fr</organizationUrl> | ||
<roles> | ||
|
@@ -114,8 +114,6 @@ | |
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>8</maven.compiler.source> | ||
<maven.compiler.target>8</maven.compiler.target> | ||
<license.licenseName>gpl_v2</license.licenseName> | ||
<license.copyrightOwners>MICA & GReD</license.copyrightOwners> | ||
</properties> | ||
|
@@ -144,7 +142,7 @@ | |
<dependency> | ||
<groupId>fr.igred</groupId> | ||
<artifactId>simple-omero-client</artifactId> | ||
<version>5.12.1</version> | ||
<version>5.16.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.scijava</groupId> | ||
|
@@ -174,9 +172,7 @@ | |
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>2.6</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
|
@@ -204,16 +200,4 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<reporting> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<configuration> | ||
<detectJavaApiLink>false</detectJavaApiLink> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</reporting> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* Copyright (C) 2021-2023 MICA & GReD | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License as published by the Free Software | ||
* Foundation; either version 2 of the License, or (at your option) any later | ||
* version. | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, write to the Free Software Foundation, Inc., 51 Franklin | ||
* Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
*/ | ||
package fr.igred.ij.io; | ||
|
||
|
||
import fr.igred.omero.repository.ImageWrapper; | ||
import ij.ImagePlus; | ||
|
||
|
||
/** | ||
* Interface to open images and retrieve the corresponding image on OMERO, if applicable. | ||
*/ | ||
public interface BatchImage { | ||
|
||
/** | ||
* Returns the related ImageWrapper, or null if there is none. | ||
* | ||
* @return See above. | ||
*/ | ||
ImageWrapper getImageWrapper(); | ||
|
||
|
||
/** | ||
* Opens the image and returns the corresponding ImagePlus. | ||
* | ||
* @param mode The mode used to load ROIs. | ||
* | ||
* @return See above. | ||
*/ | ||
ImagePlus getImagePlus(ROIMode mode); | ||
|
||
|
||
/** | ||
* Opens the image and returns the corresponding ImagePlus, with no ROI. | ||
* | ||
* @return See above. | ||
*/ | ||
default ImagePlus getImagePlus() { | ||
return getImagePlus(ROIMode.DO_NOT_LOAD); | ||
} | ||
|
||
} |
Oops, something went wrong.