Package uk.ac.gda.vmxi.match.api
Interface ImageMatchService
- All Superinterfaces:
Findable
- All Known Implementing Classes:
ImageMatchServiceBase,ImageMatchServiceVmxi,ImageMatchServiceWrapper
Interface for access to crystal image matching service.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear all pending requests and ignore any asynchronously returned resultvoidClear specified request and ignore any asynchronously returned resultFactory to create empty request, to be configured before submittingexecuteMatch(ImageMatchRequest request) Synchronous call to match servicegetRequest(String requestId) Check for pending requestintCount the pending requestsCheck list of pending requestsCheck for specified resultintCount the available completed resultsisComplete(String requestId) Check for presence of specified resultrequestMatch(ImageMatchRequest request) Asynchronous call to match service, returning id for request madestackImages(URL target, List<URL> inputs) Combine images for an extended focus image
-
Method Details
-
clearAllTasks
void clearAllTasks()Clear all pending requests and ignore any asynchronously returned result -
clearTask
Clear specified request and ignore any asynchronously returned result -
createRequest
ImageMatchRequest createRequest()Factory to create empty request, to be configured before submitting -
executeMatch
Synchronous call to match service- Throws:
MatchException
-
getRequest
Check for pending request -
getRequestCount
int getRequestCount()Count the pending requests -
getRequestList
List<ImageMatchRequest> getRequestList()Check list of pending requests -
getResult
Check for specified result -
getResultCount
int getResultCount()Count the available completed results -
isComplete
Check for presence of specified result -
requestMatch
Asynchronous call to match service, returning id for request made- Throws:
MatchException
-
stackImages
Combine images for an extended focus image- Throws:
MatchException
-