RAWverna Image evaluation - Read images (RAW, NonRAW)
Created: 2012-02-21 17:37:37
Last updated: 2012-02-21 17:37:38
Reads images for evaluation by RAWverna. The read parameters depend on the type of the images.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
RAWverna Image evaluation - Read images (RAW, NonRAW) |
Descriptions (1)
Reads images for evaluation by RAWverna. The read parameters depend on the type of the images. |
Dependencies (0)
Inputs (4)
Name |
Description |
path1 |
Path to the first image.
|
path2 |
Path to the second image.
|
mimetype1 |
Mime-Type of the first image.
|
mimetype2 |
Mime-Type of the second image.
|
Processors (6)
Name |
Type |
Description |
profileStart |
beanshell |
Scriptimport org.apache.log4j.Logger;
Logger logger = Logger.getLogger("Workflow - Read images (RAW, NonRAW)");
logger.info("Reading images");
long startTimestamp = System.nanoTime(); |
profileEnd |
beanshell |
Scriptimport org.apache.log4j.Logger;
Logger logger = Logger.getLogger("Workflow - Read images (RAW, NonRAW)");
logger.info("Done reading images");
long startTimestampLong = Long.parseLong(startTimestamp);
double runtime = (System.nanoTime() - startTimestampLong) * 1.0e-9; |
readImage1 |
workflow |
|
readImage2 |
workflow |
|
isRaw1 |
beanshell |
Scriptif ("image/x-raw".equalsIgnoreCase(mimetype)) {
isRaw = true;
} else {
isRaw = false;
} |
isRaw2 |
beanshell |
Scriptif ("image/x-raw".equalsIgnoreCase(mimetype)) {
isRaw = true;
} else {
isRaw = false;
} |
Beanshells (10)
Name |
Description |
Inputs |
Outputs |
profileStart |
|
|
startTimestamp
|
profileEnd |
|
startTimestamp
|
runtime
|
isRaw1 |
|
mimetype
|
isRaw
|
isRaw2 |
|
mimetype
|
isRaw
|
getFirstElementDFS |
|
input
|
firstElement
|
selectDcrawParameters |
|
path
isRawThis
isRawOther
|
dcraw_noInt_noConv_fixed_path
dcraw_srgb_colorInt_camera_path
dcraw_srgb_colorInt_fixed_path
nonraw
|
readFile |
|
path
|
image
|
selectImageDataEquals |
|
imageRaw
imageOthers
|
imageEquals
|
profileStart |
|
|
startTimestamp
|
profileEnd |
|
startTimestamp
|
runtime
|
Outputs (7)
Name |
Description |
runtime |
The runtime of this workflow in seconds.
|
imageEquals1 |
First image for equals comparison as byte array.
|
imageOthers1 |
First image for other comparisons as byte array.
|
imageEquals2 |
Second image for equals comparison as byte array.
|
imageOthers2 |
Second image for other comparisons as byte array.
|
readImage2Runtime |
|
readImage1Runtime |
|
Datalinks (16)
Source |
Sink |
profileStart:startTimestamp |
profileEnd:startTimestamp |
path1 |
readImage1:path |
isRaw1:isRaw |
readImage1:isRawThis |
isRaw2:isRaw |
readImage1:isRawOther |
path2 |
readImage2:path |
isRaw1:isRaw |
readImage2:isRawOther |
isRaw2:isRaw |
readImage2:isRawThis |
mimetype1 |
isRaw1:mimetype |
mimetype2 |
isRaw2:mimetype |
profileEnd:runtime |
runtime |
readImage1:imageEquals |
imageEquals1 |
readImage1:imageOthers |
imageOthers1 |
readImage2:imageEquals |
imageEquals2 |
readImage2:imageOthers |
imageOthers2 |
readImage2:runtime |
readImage2Runtime |
readImage1:runtime |
readImage1Runtime |
Coordinations (4)
Controller |
Target |
readImage2 |
profileEnd |
profileStart |
readImage2 |
profileStart |
readImage1 |
readImage1 |
profileEnd |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (1)
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment