Search in sources :

Example 1 with ImportRawTimeSeriesFromExperimentImagesOp

use of org.vcell.vmicro.op.ImportRawTimeSeriesFromExperimentImagesOp in project vcell by virtualcell.

the class ImportRawTimeSeriesFromExperimentImages method compute0.

@Override
protected void compute0(TaskContext context, ClientTaskStatusSupport clientTaskStatusSupport) throws Exception {
    // get input
    File[] files = context.getData(expTimeSeriesFiles);
    Double tInterval = context.getData(timeInterval);
    // do op
    ImportRawTimeSeriesFromExperimentImagesOp op = new ImportRawTimeSeriesFromExperimentImagesOp();
    ImageTimeSeries<UShortImage> imageTimeSeries = op.importRawTimeSeries(files, tInterval);
    // set output
    context.setData(rawTimeSeriesImages, imageTimeSeries);
}
Also used : UShortImage(cbit.vcell.VirtualMicroscopy.UShortImage) File(java.io.File) ImportRawTimeSeriesFromExperimentImagesOp(org.vcell.vmicro.op.ImportRawTimeSeriesFromExperimentImagesOp)

Aggregations

UShortImage (cbit.vcell.VirtualMicroscopy.UShortImage)1 File (java.io.File)1 ImportRawTimeSeriesFromExperimentImagesOp (org.vcell.vmicro.op.ImportRawTimeSeriesFromExperimentImagesOp)1