-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented new ImageWorker interface
- Loading branch information
Showing
4 changed files
with
65 additions
and
5 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
10 changes: 5 additions & 5 deletions
10
sdk/src/main/java/pt/ua/dicoogle/sdk/imageworker/ImageWorkerInterface.java
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package pt.ua.dicoogle.sdk.imageworker; | ||
|
||
import org.dcm4che2.io.DicomInputStream; | ||
import pt.ua.dicoogle.sdk.DicooglePlugin; | ||
import pt.ua.dicoogle.sdk.datastructs.SearchResult; | ||
import pt.ua.dicoogle.sdk.datastructs.dim.BulkAnnotation; | ||
|
||
public abstract class ImageWorkerInterface { | ||
public interface ImageWorkerInterface extends DicooglePlugin { | ||
public abstract ImageROI extractROI(SearchResult sr, BulkAnnotation annotation); | ||
|
||
public abstract ImageROI extractROI(DicomInputStream is, BulkAnnotation annotation); | ||
|
||
public abstract Iterable<ImageROI> extractROIs(DicomInputStream is, Iterable<BulkAnnotation> annotations); | ||
public abstract Iterable<ImageROI> extractROIs(SearchResult sr, Iterable<BulkAnnotation> annotations); | ||
} |