Commit 0c2c7f8f authored by aknecht2's avatar aknecht2

Updated time requested for sql aggregate. Added output for 0238.

parent d27b5b23
{
"version": "1.0",
"installdir": "/work/walia/common/pymodules/anaconda/bin",
"profile": {
"pegasus": {
"style": "glite"
},
"condor": {
"grid_resource": "pbs",
"universe": "vanilla"
},
"env": {
"PATH": "/work/walia/common/pymodules/anaconda/bin",
"PYTHONPATH": "/work/walia/common/pymodules/anaconda/lib/python2.7/site-packages/",
"LD_LIBRARY_PATH": "/work/walia/common/pymodules/anaconda/lib"
}
},
"cluster": 150,
"maxwalltime": {
"images": 2,
"stats": 300
},
"notify": {
"email": "avi@kurtknecht.com",
"pegasus_home": "/usr/share/pegasus/"
}
}
{
"path": "/work/walia/common/rawdata/0184_Uni_Nebraska_Rice_1/%null%/%null%_%null%_%null%_%null%_%null%_%idnum%-%idchar%_%date%_%null%/%imgname%/0_0.png",
"base": "/work/walia/common/rawdata/0184_Uni_Nebraska_Rice_1/",
"filetype": ".png",
"order": ["experiment", "id", "genotype", "date", "treatment", "imgname", "imtype", "path"],
"data": {
"experiment": {
"type": "value",
"value": "0184"
},
"id": {
"type": "value",
"value": "%idnum%-%idchar%"
},
"genotype": {
"type": "file",
"value": "/work/walia/common/workflows/0184/input/GenKey.csv",
"key": "%idnum%-%idchar%",
"keyColumn": 0,
"valueColumn": 1
},
"date": {
"type": "date",
"value": "%date%",
"format": "Y-m-d"
},
"treatment": {
"type": "value",
"translate": "true",
"value": "%idchar%"
},
"imgname": {
"type": "value",
"value": "%imgname%"
},
"imtype": {
"type": "value",
"translate": "true",
"value": "%imgname%"
}
},
"translations": {
"treatment": {
"S": "Stress",
"s": "Stress",
"C": "Control",
"c": "Control"
},
"imtype": {
"RGB_SV1": "rgbsv",
"RGB_SV2": "rgbsv",
"RGB_TV": "rgbtv",
"FLUO_SV1": "fluosv",
"FLUO_SV2": "fluosv",
"FLUO_TV": "fluotv",
"NIR_SV1": "nirsv",
"NIR_SV2": "nirsv",
"NIR_TV": "nirtv",
"IR_SV1": "irsv",
"IR_SV2": "irsv",
"IR_TV": "irtv"
}
}
}
{
"ystart": 100,
"yend": "y - 100",
"xstart": 100,
"xend": "x - 100"
}
\ No newline at end of file
{
"ystart": 1110,
"yend": "y",
"xstart": 369,
"xend": 669
}
\ No newline at end of file
{
"ystart": 1185,
"yend": "y",
"xstart": 369,
"xend": 669
}
\ No newline at end of file
{
"workflows": {
"fluosv": [
{
"name": "pot_filter_1",
"executable": "ih-color-filter",
"inputs": ["base", "/work/walia/common/workflows/0238/input/fluosv_pot1.json"],
"outputs": ["pot1"],
"arguments": {
"--logic": "(((((((r - g) < 30) and (((r + g) + b) < 110)) or ((((r + g) + b) > 110) and ((r - g) < 50))) or (((r - g) < 25) and ((g - r) < 25))) or (g > 60)) not 1)"
}
},
{
"name": "pot_filter_2",
"executable": "ih-color-filter",
"inputs": ["pot1", "/work/walia/common/workflows/0238/input/fluosv_pot2.json"],
"outputs": ["pot2"],
"arguments": {
"--logic": "(((r + g) + b) > 120)"
},
"depends": ["pot_filter_1"]
},
{
"name": "main_filter",
"executable": "ih-color-filter",
"inputs": ["pot2"],
"outputs": ["filter"],
"arguments": {
"--logic": "((r - g) > 10)"
},
"depends": ["pot_filter_2"]
},
{
"name": "crop",
"executable": "ih-crop",
"inputs": ["filter", "/work/walia/common/workflows/0238/input/fluosv_edge.json"],
"outputs": ["edged"],
"arguments": {},
"depends": ["main_filter"]
},
{
"name": "cut",
"executable": "ih-contour-cut",
"inputs": ["edged", "edged"],
"outputs": ["final"],
"arguments": {
"--basemin": 75
},
"depends": ["crop"]
}
],
"rgbtv": [
{
"name": "normalize",
"executable": "ih-normalize-intensity",
"inputs": ["base"],
"outputs": ["normal"],
"arguments": {}
},
{
"name": "meanshift",
"executable": "ih-meanshift",
"inputs": ["normal"],
"outputs": ["shift"],
"arguments": {
"--spatial_radius": 4,
"--range_radius": 4,
"--min_density": 40
},
"depends": ["normalize"]
},
{
"name": "main_filter",
"executable": "ih-color-filter",
"inputs": ["shift"],
"outputs": ["filter"],
"arguments": {
"--logic": "(((g > r) and (g > b)) and ((((b max g) max r) - ((b min g) min r)) > 20))"
},
"depends": ["meanshift"]
},
{
"name": "closing",
"executable": "ih-morphology",
"inputs": ["filter"],
"outputs": ["morphed"],
"arguments": {
"--ktype": "ellipse",
"--kwidth": 5,
"--kheight": 5,
"--morphType": "close"
},
"depends": ["main_filter"]
},
{
"name": "crop",
"executable": "ih-crop",
"inputs": ["morphed", "/work/walia/common/workflows/0238/input/rgbtv_edge.json"],
"outputs": ["edged"],
"arguments": {},
"depends": ["closing"]
},
{
"name": "reconstitute",
"executable": "ih-bitwise-and",
"inputs": ["edged", "base"],
"outputs": ["recolor"],
"arguments": {},
"depends": ["crop"]
},
{
"name": "cut",
"executable": "ih-contour-cut",
"inputs": ["recolor", "recolor"],
"outputs": ["final"],
"arguments": {
"--basemin": 200
},
"depends": ["reconstitute"]
}
],
"rgbsv": [
{
"name": "pot-detect",
"executable": "ih-color-filter",
"inputs": ["base"],
"outputs": ["pot"],
"arguments": {
"--logic": "((((r + g) + b) < 100) or (((b - r) > 40) and ((b - g) > 30)))"
}
},
{
"name": "pot-crop",
"executable": "ih-contour-cut",
"inputs": ["pot", "pot"],
"outputs": ["unused_1", "pot_roi"],
"arguments": {
"--basemin": 100,
"--padminy": 100,
"--padmaxy": 2000,
"--padminx": -25,
"--padmaxx": -25,
"--returnBound": ""
},
"depends": ["pot-detect"]
},
{
"name": "box-crop",
"executable": "ih-contour-cut",
"inputs": ["pot", "pot"],
"outputs": ["unused_2", "box_roi"],
"arguments": {
"--basemin": 100,
"--padminy": 35,
"--padmaxy": 2000,
"--padminx": 50,
"--padmaxx": 50,
"--returnBound": ""
},
"depends": ["pot-detect"]
},
{
"name": "gray",
"executable": "ih-convert-color",
"inputs": ["base"],
"outputs": ["grayscale"],
"arguments": {
"--intype": "bgr",
"--outtype": "gray"
}
},
{
"name": "blur",
"executable": "ih-gaussian-blur",
"inputs": ["grayscale"],
"outputs": ["blurred"],
"arguments": {
"--kwidth": 5,
"--kheight": 5
},
"depends": ["gray"]
},
{
"name": "thresh",
"executable": "ih-adaptive-threshold",
"inputs": ["blurred"],
"outputs": ["thresh"],
"arguments": {
"--value": 255,
"--thresholdType": "inverse",
"--adaptiveType": "mean",
"--blockSize": 15,
"--C": 3
},
"depends": ["blur"]
},
{
"name": "reconstitute1",
"executable": "ih-bitwise-and",
"inputs": ["thresh", "base"],
"outputs": ["recolor1"],
"arguments": {},
"depends": ["thresh"]
},
{
"name": "meanshift",
"executable": "ih-meanshift",
"inputs": ["recolor1"],
"outputs": ["shift"],
"arguments": {
"--spatial_radius": 2,
"--range_radius": 2,
"--min_density": 50
},
"depends": ["reconstitute1"]
},
{
"name": "pot-filter",
"executable": "ih-color-filter",
"inputs": ["shift", "pot_roi"],
"outputs": ["pot_filtered"],
"arguments": {
"--logic": "((((((((((r > g) and (r > b)) and (((b max g) - (b min g)) < (((r + g) + b) / 20))) or ((((b max g) max r) - ((b min g) min r)) < 10)) or ((b > r) and ((b > g) or (g > r)))) or (((r + g) + b) < 220)) or ((((r + g) + b) < 350) and ((((b max g) max r) - ((b min g) min r)) < 25))) or ((b > g) and (r > g))) or (((((r - g) > 5) and ((g - b) > 5)) and ((r - g) < 25)) and ((g - b) < 25))) not 1)"
},
"depends": ["meanshift", "pot-crop"]
},
{
"name": "box-filter",
"executable": "ih-color-filter",
"inputs": ["pot_filtered", "box_roi"],
"outputs": ["box_filtered"],
"arguments": {
"--logic": "(((g - b) > 30) or ((r - b) > 30))"
},
"depends": ["pot-filter", "box-crop"]
},
{
"name": "gfilter1",
"executable": "ih-color-filter",
"inputs": ["box_filtered", "/work/walia/common/workflows/0238/input/rgbsv_gray1.json"],
"outputs": ["gray_filtered1"],
"arguments": {
"--logic": "((((b max g) max r) - ((b min g) min r)) > 50)"
},
"depends": ["box-filter", "box-crop"]
},
{
"name": "gfilter2",
"executable": "ih-color-filter",
"inputs": ["gray_filtered1", "/work/walia/common/workflows/0238/input/rgbsv_gray2.json"],
"outputs": ["gray_filtered2"],
"arguments": {
"--logic": "((((b max g) max r) - ((b min g) min r)) > 100)"
},
"depends": ["gfilter1"]
},
{
"name": "crop",
"executable": "ih-crop",
"inputs": ["gray_filtered2", "/work/walia/common/workflows/0238/input/rgbsv_edge.json"],
"outputs": ["edged"],
"arguments": {},
"depends": ["gfilter2"]
},
{
"name": "reconstitute2",
"executable": "ih-bitwise-and",
"inputs": ["edged", "base"],
"outputs": ["recolor2"],
"arguments": {},
"depends": ["crop"]
},
{
"name": "cut",
"executable": "ih-contour-cut",
"inputs": ["recolor2", "recolor2"],
"outputs": ["final"],
"arguments": {
"--basemin": 50
},
"depends": ["reconstitute2"]
}
]
},
"options": {
},
"extract": {
"histogram-bin": {
"--group": {"rgb": ["rgbsv", "rgbtv"], "fluo": ["fluosv"]},
"--chunks": {"rgb": [5, 5, 5], "fluo": [0, 9, 10]},
"--channels": {"rgb": [0, 1, 2], "fluo": [1, 2]}
},
"workflows": {
"rgbsv": {
"inputs": ["final"],
"arguments": {
"--dimfromroi": "pot_roi",
"--dimensions": "",
"--pixels": "",
"--moments": ""
},
"depends": ["cut"]
},
"rgbtv": {
"inputs": ["final"],
"arguments": {
"--dimensions": "",
"--pixels": "",
"--moments": ""
},
"depends": ["cut"]
},
"fluosv": {
"inputs": ["final"],
"arguments": {
"--dimfromroi": "/work/walia/common/workflows/0238/input/fluosv_pot1.json",
"--pixels": "",
"--moments": ""
},
"depends": ["cut"]
}
}
}
}
[{"max": [255, 15, 33], "name": "fluo_bin1", "min": [1, 1, 1]}, {"max": [255, 15, 45], "name": "fluo_bin2", "min": [1, 1, 33]}, {"max": [255, 15, 60], "name": "fluo_bin3", "min": [1, 1, 45]}, {"max": [255, 15, 76], "name": "fluo_bin4", "min": [1, 1, 60]}, {"max": [255, 15, 93], "name": "fluo_bin5", "min": [1, 1, 76]}, {"max": [255, 15, 110], "name": "fluo_bin6", "min": [1, 1, 93]}, {"max": [255, 15, 129], "name": "fluo_bin7", "min": [1, 1, 110]}, {"max": [255, 15, 150], "name": "fluo_bin8", "min": [1, 1, 129]}, {"max": [255, 15, 183], "name": "fluo_bin9", "min": [1, 1, 150]}, {"max": [255, 15, 255], "name": "fluo_bin10", "min": [1, 1, 183]}, {"max": [255, 18, 33], "name": "fluo_bin11", "min": [1, 15, 1]}, {"max": [255, 18, 45], "name": "fluo_bin12", "min": [1, 15, 33]}, {"max": [255, 18, 60], "name": "fluo_bin13", "min": [1, 15, 45]}, {"max": [255, 18, 76], "name": "fluo_bin14", "min": [1, 15, 60]}, {"max": [255, 18, 93], "name": "fluo_bin15", "min": [1, 15, 76]}, {"max": [255, 18, 110], "name": "fluo_bin16", "min": [1, 15, 93]}, {"max": [255, 18, 129], "name": "fluo_bin17", "min": [1, 15, 110]}, {"max": [255, 18, 150], "name": "fluo_bin18", "min": [1, 15, 129]}, {"max": [255, 18, 183], "name": "fluo_bin19", "min": [1, 15, 150]}, {"max": [255, 18, 255], "name": "fluo_bin20", "min": [1, 15, 183]}, {"max": [255, 21, 33], "name": "fluo_bin21", "min": [1, 18, 1]}, {"max": [255, 21, 45], "name": "fluo_bin22", "min": [1, 18, 33]}, {"max": [255, 21, 60], "name": "fluo_bin23", "min": [1, 18, 45]}, {"max": [255, 21, 76], "name": "fluo_bin24", "min": [1, 18, 60]}, {"max": [255, 21, 93], "name": "fluo_bin25", "min": [1, 18, 76]}, {"max": [255, 21, 110], "name": "fluo_bin26", "min": [1, 18, 93]}, {"max": [255, 21, 129], "name": "fluo_bin27", "min": [1, 18, 110]}, {"max": [255, 21, 150], "name": "fluo_bin28", "min": [1, 18, 129]}, {"max": [255, 21, 183], "name": "fluo_bin29", "min": [1, 18, 150]}, {"max": [255, 21, 255], "name": "fluo_bin30", "min": [1, 18, 183]}, {"max": [255, 25, 33], "name": "fluo_bin31", "min": [1, 21, 1]}, {"max": [255, 25, 45], "name": "fluo_bin32", "min": [1, 21, 33]}, {"max": [255, 25, 60], "name": "fluo_bin33", "min": [1, 21, 45]}, {"max": [255, 25, 76], "name": "fluo_bin34", "min": [1, 21, 60]}, {"max": [255, 25, 93], "name": "fluo_bin35", "min": [1, 21, 76]}, {"max": [255, 25, 110], "name": "fluo_bin36", "min": [1, 21, 93]}, {"max": [255, 25, 129], "name": "fluo_bin37", "min": [1, 21, 110]}, {"max": [255, 25, 150], "name": "fluo_bin38", "min": [1, 21, 129]}, {"max": [255, 25, 183], "name": "fluo_bin39", "min": [1, 21, 150]}, {"max": [255, 25, 255], "name": "fluo_bin40", "min": [1, 21, 183]}, {"max": [255, 29, 33], "name": "fluo_bin41", "min": [1, 25, 1]}, {"max": [255, 29, 45], "name": "fluo_bin42", "min": [1, 25, 33]}, {"max": [255, 29, 60], "name": "fluo_bin43", "min": [1, 25, 45]}, {"max": [255, 29, 76], "name": "fluo_bin44", "min": [1, 25, 60]}, {"max": [255, 29, 93], "name": "fluo_bin45", "min": [1, 25, 76]}, {"max": [255, 29, 110], "name": "fluo_bin46", "min": [1, 25, 93]}, {"max": [255, 29, 129], "name": "fluo_bin47", "min": [1, 25, 110]}, {"max": [255, 29, 150], "name": "fluo_bin48", "min": [1, 25, 129]}, {"max": [255, 29, 183], "name": "fluo_bin49", "min": [1, 25, 150]}, {"max": [255, 29, 255], "name": "fluo_bin50", "min": [1, 25, 183]}, {"max": [255, 33, 33], "name": "fluo_bin51", "min": [1, 29, 1]}, {"max": [255, 33, 45], "name": "fluo_bin52", "min": [1, 29, 33]}, {"max": [255, 33, 60], "name": "fluo_bin53", "min": [1, 29, 45]}, {"max": [255, 33, 76], "name": "fluo_bin54", "min": [1, 29, 60]}, {"max": [255, 33, 93], "name": "fluo_bin55", "min": [1, 29, 76]}, {"max": [255, 33, 110], "name": "fluo_bin56", "min": [1, 29, 93]}, {"max": [255, 33, 129], "name": "fluo_bin57", "min": [1, 29, 110]}, {"max": [255, 33, 150], "name": "fluo_bin58", "min": [1, 29, 129]}, {"max": [255, 33, 183], "name": "fluo_bin59", "min": [1, 29, 150]}, {"max": [255, 33, 255], "name": "fluo_bin60", "min": [1, 29, 183]}, {"max": [255, 39, 33], "name": "fluo_bin61", "min": [1, 33, 1]}, {"max": [255, 39, 45], "name": "fluo_bin62", "min": [1, 33, 33]}, {"max": [255, 39, 60], "name": "fluo_bin63", "min": [1, 33, 45]}, {"max": [255, 39, 76], "name": "fluo_bin64", "min": [1, 33, 60]}, {"max": [255, 39, 93], "name": "fluo_bin65", "min": [1, 33, 76]}, {"max": [255, 39, 110], "name": "fluo_bin66", "min": [1, 33, 93]}, {"max": [255, 39, 129], "name": "fluo_bin67", "min": [1, 33, 110]}, {"max": [255, 39, 150], "name": "fluo_bin68", "min": [1, 33, 129]}, {"max": [255, 39, 183], "name": "fluo_bin69", "min": [1, 33, 150]}, {"max": [255, 39, 255], "name": "fluo_bin70", "min": [1, 33, 183]}, {"max": [255, 60, 33], "name": "fluo_bin71", "min": [1, 39, 1]}, {"max": [255, 60, 45], "name": "fluo_bin72", "min": [1, 39, 33]}, {"max": [255, 60, 60], "name": "fluo_bin73", "min": [1, 39, 45]}, {"max": [255, 60, 76], "name": "fluo_bin74", "min": [1, 39, 60]}, {"max": [255, 60, 93], "name": "fluo_bin75", "min": [1, 39, 76]}, {"max": [255, 60, 110], "name": "fluo_bin76", "min": [1, 39, 93]}, {"max": [255, 60, 129], "name": "fluo_bin77", "min": [1, 39, 110]}, {"max": [255, 60, 150], "name": "fluo_bin78", "min": [1, 39, 129]}, {"max": [255, 60, 183], "name": "fluo_bin79", "min": [1, 39, 150]}, {"max": [255, 60, 255], "name": "fluo_bin80", "min": [1, 39, 183]}, {"max": [255, 255, 33], "name": "fluo_bin81", "min": [1, 60, 1]}, {"max": [255, 255, 45], "name": "fluo_bin82", "min": [1, 60, 33]}, {"max": [255, 255, 60], "name": "fluo_bin83", "min": [1, 60, 45]}, {"max": [255, 255, 76], "name": "fluo_bin84", "min": [1, 60, 60]}, {"max": [255, 255, 93], "name": "fluo_bin85", "min": [1, 60, 76]}, {"max": [255, 255, 110], "name": "fluo_bin86", "min": [1, 60, 93]}, {"max": [255, 255, 129], "name": "fluo_bin87", "min": [1, 60, 110]}, {"max": [255, 255, 150], "name": "fluo_bin88", "min": [1, 60, 129]}, {"max": [255, 255, 183], "name": "fluo_bin89", "min": [1, 60, 150]}, {"max": [255, 255, 255], "name": "fluo_bin90", "min": [1, 60, 183]}]
\ No newline at end of file
[{"max": [23, 63, 31], "name": "rgb_bin1", "min": [1, 1, 1]}, {"max": [23, 63, 63], "name": "rgb_bin2", "min": [1, 1, 31]}, {"max": [23, 63, 73], "name": "rgb_bin3", "min": [1, 1, 63]}, {"max": [23, 63, 103], "name": "rgb_bin4", "min": [1, 1, 73]}, {"max": [23, 63, 255], "name": "rgb_bin5", "min": [1, 1, 103]}, {"max": [23, 79, 31], "name": "rgb_bin6", "min": [1, 63, 1]}, {"max": [23, 79, 63], "name": "rgb_bin7", "min": [1, 63, 31]}, {"max": [23, 79, 73], "name": "rgb_bin8", "min": [1, 63, 63]}, {"max": [23, 79, 103], "name": "rgb_bin9", "min": [1, 63, 73]}, {"max": [23, 79, 255], "name": "rgb_bin10", "min": [1, 63, 103]}, {"max": [23, 97, 31], "name": "rgb_bin11", "min": [1, 79, 1]}, {"max": [23, 97, 63], "name": "rgb_bin12", "min": [1, 79, 31]}, {"max": [23, 97, 73], "name": "rgb_bin13", "min": [1, 79, 63]}, {"max": [23, 97, 103], "name": "rgb_bin14", "min": [1, 79, 73]}, {"max": [23, 97, 255], "name": "rgb_bin15", "min": [1, 79, 103]}, {"max": [23, 130, 31], "name": "rgb_bin16", "min": [1, 97, 1]}, {"max": [23, 130, 63], "name": "rgb_bin17", "min": [1, 97, 31]}, {"max": [23, 130, 73], "name": "rgb_bin18", "min": [1, 97, 63]}, {"max": [23, 130, 103], "name": "rgb_bin19", "min": [1, 97, 73]}, {"max": [23, 130, 255], "name": "rgb_bin20", "min": [1, 97, 103]}, {"max": [23, 255, 31], "name": "rgb_bin21", "min": [1, 130, 1]}, {"max": [23, 255, 63], "name": "rgb_bin22", "min": [1, 130, 31]}, {"max": [23, 255, 73], "name": "rgb_bin23", "min": [1, 130, 63]}, {"max": [23, 255, 103], "name": "rgb_bin24", "min": [1, 130, 73]}, {"max": [23, 255, 255], "name": "rgb_bin25", "min": [1, 130, 103]}, {"max": [34, 63, 31], "name": "rgb_bin26", "min": [23, 1, 1]}, {"max": [34, 63, 63], "name": "rgb_bin27", "min": [23, 1, 31]}, {"max": [34, 63, 73], "name": "rgb_bin28", "min": [23, 1, 63]}, {"max": [34, 63, 103], "name": "rgb_bin29", "min": [23, 1, 73]}, {"max": [34, 63, 255], "name": "rgb_bin30", "min": [23, 1, 103]}, {"max": [34, 79, 31], "name": "rgb_bin31", "min": [23, 63, 1]}, {"max": [34, 79, 63], "name": "rgb_bin32", "min": [23, 63, 31]}, {"max": [34, 79, 73], "name": "rgb_bin33", "min": [23, 63, 63]}, {"max": [34, 79, 103], "name": "rgb_bin34", "min": [23, 63, 73]}, {"max": [34, 79, 255], "name": "rgb_bin35", "min": [23, 63, 103]}, {"max": [34, 97, 31], "name": "rgb_bin36", "min": [23, 79, 1]}, {"max": [34, 97, 63], "name": "rgb_bin37", "min": [23, 79, 31]}, {"max": [34, 97, 73], "name": "rgb_bin38", "min": [23, 79, 63]}, {"max": [34, 97, 103], "name": "rgb_bin39", "min": [23, 79, 73]}, {"max": [34, 97, 255], "name": "rgb_bin40", "min": [23, 79, 103]}, {"max": [34, 130, 31], "name": "rgb_bin41", "min": [23, 97, 1]}, {"max": [34, 130, 63], "name": "rgb_bin42", "min": [23, 97, 31]}, {"max": [34, 130, 73], "name": "rgb_bin43", "min": [23, 97, 63]}, {"max": [34, 130, 103], "name": "rgb_bin44", "min": [23, 97, 73]}, {"max": [34, 130, 255], "name": "rgb_bin45", "min": [23, 97, 103]}, {"max": [34, 255, 31], "name": "rgb_bin46", "min": [23, 130, 1]}, {"max": [34, 255, 63], "name": "rgb_bin47", "min": [23, 130, 31]}, {"max": [34, 255, 73], "name": "rgb_bin48", "min": [23, 130, 63]}, {"max": [34, 255, 103], "name": "rgb_bin49", "min": [23, 130, 73]}, {"max": [34, 255, 255], "name": "rgb_bin50", "min": [23, 130, 103]}, {"max": [47, 63, 31], "name": "rgb_bin51", "min": [34, 1, 1]}, {"max": [47, 63, 63], "name": "rgb_bin52", "min": [34, 1, 31]}, {"max": [47, 63, 73], "name": "rgb_bin53", "min": [34, 1, 63]}, {"max": [47, 63, 103], "name": "rgb_bin54", "min": [34, 1, 73]}, {"max": [47, 63, 255], "name": "rgb_bin55", "min": [34, 1, 103]}, {"max": [47, 79, 31], "name": "rgb_bin56", "min": [34, 63, 1]}, {"max": [47, 79, 63], "name": "rgb_bin57", "min": [34, 63, 31]}, {"max": [47, 79, 73], "name": "rgb_bin58", "min": [34, 63, 63]}, {"max": [47, 79, 103], "name": "rgb_bin59", "min": [34, 63, 73]}, {"max": [47, 79, 255], "name": "rgb_bin60", "min": [34, 63, 103]}, {"max": [47, 97, 31], "name": "rgb_bin61", "min": [34, 79, 1]}, {"max": [47, 97, 63], "name": "rgb_bin62", "min": [34, 79, 31]}, {"max": [47, 97, 73], "name": "rgb_bin63", "min": [34, 79, 63]}, {"max": [47, 97, 103], "name": "rgb_bin64", "min": [34, 79, 73]}, {"max": [47, 97, 255], "name": "rgb_bin65", "min": [34, 79, 103]}, {"max": [47, 130, 31], "name": "rgb_bin66", "min": [34, 97, 1]}, {"max": [47, 130, 63], "name": "rgb_bin67", "min": [34, 97, 31]}, {"max": [47, 130, 73], "name": "rgb_bin68", "min": [34, 97, 63]}, {"max": [47, 130, 103], "name": "rgb_bin69", "min": [34, 97, 73]}, {"max": [47, 130, 255], "name": "rgb_bin70", "min": [34, 97, 103]}, {"max": [47, 255, 31], "name": "rgb_bin71", "min": [34, 130, 1]}, {"max": [47, 255, 63], "name": "rgb_bin72", "min": [34, 130, 31]}, {"max": [47, 255, 73], "name": "rgb_bin73", "min": [34, 130, 63]}, {"max": [47, 255, 103], "name": "rgb_bin74", "min": [34, 130, 73]}, {"max": [47, 255, 255], "name": "rgb_bin75", "min": [34, 130, 103]}, {"max": [68, 63, 31], "name": "rgb_bin76", "min": [47, 1, 1]}, {"max": [68, 63, 63], "name": "rgb_bin77", "min": [47, 1, 31]}, {"max": [68, 63, 73], "name": "rgb_bin78", "min": [47, 1, 63]}, {"max": [68, 63, 103], "name": "rgb_bin79", "min": [47, 1, 73]}, {"max": [68, 63, 255], "name": "rgb_bin80", "min": [47, 1, 103]}, {"max": [68, 79, 31], "name": "rgb_bin81", "min": [47, 63, 1]}, {"max": [68, 79, 63], "name": "rgb_bin82", "min": [47, 63, 31]}, {"max": [68, 79, 73], "name": "rgb_bin83", "min": [47, 63, 63]}, {"max": [68, 79, 103], "name": "rgb_bin84", "min": [47, 63, 73]}, {"max": [68, 79, 255], "name": "rgb_bin85", "min": [47, 63, 103]}, {"max": [68, 97, 31], "name": "rgb_bin86", "min": [47, 79, 1]}, {"max": [68, 97, 63], "name": "rgb_bin87", "min": [47, 79, 31]}, {"max": [68, 97, 73], "name": "rgb_bin88", "min": [47, 79, 63]}, {"max": [68, 97, 103], "name": "rgb_bin89", "min": [47, 79, 73]}, {"max": [68, 97, 255], "name": "rgb_bin90", "min": [47, 79, 103]}, {"max": [68, 130, 31], "name": "rgb_bin91", "min": [47, 97, 1]}, {"max": [68, 130, 63], "name": "rgb_bin92", "min": [47, 97, 31]}, {"max": [68, 130, 73], "name": "rgb_bin93", "min": [47, 97, 63]}, {"max": [68, 130, 103], "name": "rgb_bin94", "min": [47, 97, 73]}, {"max": [68, 130, 255], "name": "rgb_bin95", "min": [47, 97, 103]}, {"max": [68, 255, 31], "name": "rgb_bin96", "min": [47, 130, 1]}, {"max": [68, 255, 63], "name": "rgb_bin97", "min": [47, 130, 31]}, {"max": [68, 255, 73], "name": "rgb_bin98", "min": [47, 130, 63]}, {"max": [68, 255, 103], "name": "rgb_bin99", "min": [47, 130, 73]}, {"max": [68, 255, 255], "name": "rgb_bin100", "min": [47, 130, 103]}, {"max": [255, 63, 31], "name": "rgb_bin101", "min": [68, 1, 1]}, {"max": [255, 63, 63], "name": "rgb_bin102", "min": [68, 1, 31]}, {"max": [255, 63, 73], "name": "rgb_bin103", "min": [68, 1, 63]}, {"max": [255, 63, 103], "name": "rgb_bin104", "min": [68, 1, 73]}, {"max": [255, 63, 255], "name": "rgb_bin105", "min": [68, 1, 103]}, {"max": [255, 79, 31], "name": "rgb_bin106", "min": [68, 63, 1]}, {"max": [255, 79, 63], "name": "rgb_bin107", "min": [68, 63, 31]}, {"max": [255, 79, 73], "name": "rgb_bin108", "min": [68, 63, 63]}, {"max": [255, 79, 103], "name": "rgb_bin109", "min": [68, 63, 73]}, {"max": [255, 79, 255], "name": "rgb_bin110", "min": [68, 63, 103]}, {"max": [255, 97, 31], "name": "rgb_bin111", "min": [68, 79, 1]}, {"max": [255, 97, 63], "name": "rgb_bin112", "min": [68, 79, 31]}, {"max": [255, 97, 73], "name": "rgb_bin113", "min": [68, 79, 63]}, {"max": [255, 97, 103], "name": "rgb_bin114", "min": [68, 79, 73]}, {"max": [255, 97, 255], "name": "rgb_bin115", "min": [68, 79, 103]}, {"max": [255, 130, 31], "name": "rgb_bin116", "min": [68, 97, 1]}, {"max": [255, 130, 63], "name": "rgb_bin117", "min": [68, 97, 31]}, {"max": [255, 130, 73], "name": "rgb_bin118", "min": [68, 97, 63]}, {"max": [255, 130, 103], "name": "rgb_bin119", "min": [68, 97, 73]}, {"max": [255, 130, 255], "name": "rgb_bin120", "min": [68, 97, 103]}, {"max": [255, 255, 31], "name": "rgb_bin121", "min": [68, 130, 1]}, {"max": [255, 255, 63], "name": "rgb_bin122", "min": [68, 130, 31]}, {"max": [255, 255, 73], "name": "rgb_bin123", "min": [68, 130, 63]}, {"max": [255, 255, 103], "name": "rgb_bin124", "min": [68, 130, 73]}, {"max": [255, 255, 255], "name": "rgb_bin125", "min": [68, 130, 103]}]
\ No newline at end of file
{
"ystart": 200,
"yend": -1,
"xstart": 200,
"xend": "x - 200"
}
{
"ystart": "y - 100",
"yend": -1,
"xstart": -1,
"xend": -1
}
{
"ystart": "y - 150",
"yend": -1,
"xstart": -1,
"xend": -1
}
{
"ystart": 100,
"yend": "y - 100",
"xstart": 100,
"xend": "x - 100"
}
\ No newline at end of file
......@@ -700,8 +700,8 @@ class ImageProcessor(Workflow):
binDep.append(type + "_extract" + str(q))
aggIn[type + str(q) + ".db"] = {"file": type + str(q) + ".db", "transfer": False}
aggIn["db"] = {"file": "img.db", "transfer": False}
self._addJob("sql_aggregate1", "ih-sql-aggregate", aggIn, {"img2.db": {"file": "img2.db", "transfer": False}}, {"--db": "db", "--output": "img2.db", "--inputs": " ".join([aggIn[x]["file"] for x in aggIn if x != "db"])}, binDep)
self._addJob("sql_aggregate1", "ih-sql-aggregate", aggIn, {"img2.db": {"file": "img2.db", "transfer": False}}, {"--db": "db", "--output": "img2.db", "--inputs": " ".join([aggIn[x]["file"] for x in aggIn if x != "db"])}, binDep, dax = self.exdax)
self._addJob("sql_aggregate1", "ih-sql-aggregate", aggIn, {"img2.db": {"file": "img2.db", "transfer": False}}, {"--db": "db", "--output": "img2.db", "--inputs": " ".join([aggIn[x]["file"] for x in aggIn if x != "db"])}, binDep, walltime = 180)
self._addJob("sql_aggregate1", "ih-sql-aggregate", aggIn, {"img2.db": {"file": "img2.db", "transfer": False}}, {"--db": "db", "--output": "img2.db", "--inputs": " ".join([aggIn[x]["file"] for x in aggIn if x != "db"])}, binDep, dax = self.exdax, walltime = 180)
if "histogram-bin" in self.workflow["extract"]:
outputs = {}
......@@ -731,8 +731,8 @@ class ImageProcessor(Workflow):
self._addJob(type + "_extractBins" + str(q), "ih-extract-multi", exInput[type][q], {}, arguments, ["bin_creation"], dax = self.exdax, walltime = 480)
binDep.append(type + "_extractBins" + str(q))
aggIn["db"] = {"file": "img2.db", "transfer": False}
self._addJob("sql_aggregate2", "ih-sql-aggregate", aggIn, {"img3.db": {"file": "img3.db", "transfer": True}}, {"--db": "db", "--output": "img3.db", "--inputs": " ".join([aggIn[x]["file"] for x in aggIn if x != "db"])}, binDep)
self._addJob("sql_aggregate2", "ih-sql-aggregate", aggIn, {"img3.db": {"file": "img3.db", "transfer": True}}, {"--db": "db", "--output": "img3.db", "--inputs": " ".join([aggIn[x]["file"] for x in aggIn if x != "db"])}, binDep, dax = self.exdax)
self._addJob("sql_aggregate2", "ih-sql-aggregate", aggIn, {"img3.db": {"file": "img3.db", "transfer": True}}, {"--db": "db", "--output": "img3.db", "--inputs": " ".join([aggIn[x]["file"] for x in aggIn if x != "db"])}, binDep, walltime = 180)
self._addJob("sql_aggregate2", "ih-sql-aggregate", aggIn, {"img3.db": {"file": "img3.db", "transfer": True}}, {"--db": "db", "--output": "img3.db", "--inputs": " ".join([aggIn[x]["file"] for x in aggIn if x != "db"])}, binDep, dax = self.exdax, walltime = 180)
z = 2 if "histogram-bin" in self.workflow["extract"] else 1
indb = "img3.db" if "histogram-bin" in self.workflow["extract"] else "img.db"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment