Package org.micromanager.remote
Class RemoteImageProcessor
java.lang.Object
org.micromanager.remote.RemoteImageProcessor
- All Implemented Interfaces:
org.micromanager.acqj.api.TaggedImageProcessor
public class RemoteImageProcessor extends Object implements org.micromanager.acqj.api.TaggedImageProcessor
Implements an ImageProcessor that sends/recieves images from a remote source
using ZMQ push/pull sockets. This enables image processing in Python/NumPy
- Author:
- henrypinkard
-
Constructor Summary
Constructors Constructor Description RemoteImageProcessor() -
Method Summary
Modifier and Type Method Description voidclose()intgetPullPort()intgetPushPort()voidsetDequeues(LinkedBlockingDeque<mmcorej.TaggedImage> source, LinkedBlockingDeque<mmcorej.TaggedImage> sink)voidstartPull()voidstartPush()
-
Constructor Details
-
RemoteImageProcessor
public RemoteImageProcessor()
-
-
Method Details
-
getPullPort
public int getPullPort() -
getPushPort
public int getPushPort() -
startPush
public void startPush() -
startPull
public void startPull() -
setDequeues
public void setDequeues(LinkedBlockingDeque<mmcorej.TaggedImage> source, LinkedBlockingDeque<mmcorej.TaggedImage> sink)- Specified by:
setDequeuesin interfaceorg.micromanager.acqj.api.TaggedImageProcessor
-
close
public void close()- Specified by:
closein interfaceorg.micromanager.acqj.api.TaggedImageProcessor
-