AIT Matchbox Scenario Check Duplicate Pair using SSIM
Created: 2012-11-24 23:13:53
In this scenario matchbox will check duplicate pair of previously found duplicates in passed digital collection if output information was lost. The pair check does not require the time consumpting whole analysis and is very fast. Matchbox in this scenario is installed on remote Linux VM. Digital collection is stored on Windows machine.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
AIT Matchbox Scenario Check Duplicate Pair using SSIM |
Descriptions (1)
In this scenario matchbox will check duplicate pair of previously found duplicates in passed digital collection if output information was lost. The pair check does not require the time consumpting whole analysis and is very fast. Matchbox in this scenario is installed on remote Linux VM. Digital collection is stored on Windows machine. |
Dependencies (0)
Inputs (3)
Name |
Description |
orig_dirlist_file_path |
Path to directory on server where digital collection that we are going to analyse is located. Please note, that the path should be completed by '/'.
|
image1 |
The image name should contain also its extension. E.g. 00000007.jp2
|
image2 |
The image name should contain also its extension. E.g. 00000007.jp2
|
Processors (2)
Name |
Type |
Description |
matchbox |
externaltool |
This command starts comparison of two images based on previously extracted image profiles. |
parse_matchbox_stdout |
beanshell |
Script#!Pairtree pt = new Pairtree();
#!String id = pt.mapToId("/mnt/abonas/linktree/", barcode_path.substring(0,barcode_path.lastIndexOf("/")));
String duplicates_result = "";
duplicates_result += image1 + " and " + image2 + " from folder " + target_collection_path;
StringTokenizer st = new StringTokenizer(matchbox_stdout, "\n");
boolean hasDuplicates = false;
while (st.hasMoreTokens()) {
String token = st.nextToken();
if (token.contains("=>")) {
hasDuplicates = true;
}
}
String res = " are not duplicates.";
if (hasDuplicates) {
res = " are duplicates.";
}
duplicates_result += res;
|
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
parse_matchbox_stdout |
|
target_collection_path
matchbox_stdout
image1
image2
|
duplicates_result
|
Outputs (3)
Name |
Description |
results |
|
stderr |
|
stdout |
|
Datalinks (10)
Source |
Sink |
orig_dirlist_file_path |
matchbox:target_collection_path |
image1 |
matchbox:image1 |
image2 |
matchbox:image2 |
matchbox:STDOUT |
parse_matchbox_stdout:matchbox_stdout |
orig_dirlist_file_path |
parse_matchbox_stdout:target_collection_path |
image1 |
parse_matchbox_stdout:image1 |
image2 |
parse_matchbox_stdout:image2 |
parse_matchbox_stdout:duplicates_result |
results |
matchbox:STDERR |
stderr |
matchbox:STDOUT |
stdout |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (2)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
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