def main(configfilename, tagfilename=None): config = parser.parse(configfilename) if tagfilename is not None: bboxes = io.utils.read_bbox_tag_filename(tagfilename) else: bboxes = None iterator = tc.create_chunk_edges_tasks( config["image"], config["tempoutput"], config["baseseg"], storagestr=config["storagestrs"][0], hashmax=config["nummergetasks"], storagedir=config["storagestrs"][1], volshape=config["volshape"], chunkshape=config["chunkshape"], startcoord=config["startcoord"], patchsz=config["patchshape"], normcloudpath=config["normcloudpath"], resolution=config["voxelres"], aggscratchpath=config["aggscratchpath"], aggchunksize=config["aggchunksize"], aggmaxmip=config["aggmaxmip"], aggstartcoord=config["startcoord"], bboxes=bboxes) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename): config = parser.parse(configfilename) task = tc.create_index_seg_map_task(config["storagestrs"][0]) tq = TaskQueue(config["queueurl"]) tq.insert_all([task])
def main(configfilename): config = parser.parse(configfilename) iterator = tc.create_merge_overlaps_task(config["storagestrs"][0]) tq = TaskQueue(config["queueurl"]) tq.insert_all([iterator])
def main(configfilename): config = parser.parse(configfilename) task = tc.create_seg_graph_cc_task(config["storagestrs"][0], config["nummergetasks"]) tq = TaskQueue(config["queueurl"]) tq.insert_all([task])
def main(configfilename): config = parser.parse(configfilename) iterator = tc.create_pick_edge_tasks(config["storagestrs"][0], config["nummergetasks"]) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename): config = parser.parse(configfilename) task = tc.create_merge_ccs_task( config["storagestrs"][0], config["szthresh"], config["maxfaceshape"]) tq = TaskQueue(config["queueurl"]) tq.insert_all([task])
def main(configfilename): config = parser.parse(configfilename) iterator = tc.create_match_contins_tasks( config["storagestrs"][0], config["nummergetasks"], max_faceshape=config["maxfaceshape"]) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename): config = parser.parse(configfilename) iterator = tc.create_merge_dup_tasks(config["storagestrs"][0], config["nummergetasks"], config["mergethresh"], config["szthresh"], config["voxelres"], config["storagestrs"][1]) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename): config = parser.parse(configfilename) iterator = tc.create_overlap_tasks(config["output"], config["baseseg"], config["storagestrs"][0], volshape=config["volshape"], chunkshape=config["chunkshape"], startcoord=config["startcoord"], resolution=config["voxelres"]) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename): config = parser.parse(configfilename) enforce_szthresh = config["workflowtype"] == "Segmentation" szthresh = config["szthresh"] if enforce_szthresh else None iterator = tc.create_merge_seginfo_tasks( config["storagestrs"][0], config["nummergetasks"], aux_storagestr=config["storagestrs"][1], szthresh=szthresh) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename): config = parser.parse(configfilename) startcoord = Vec(*config["startcoord"]) volshape = Vec(*config["volshape"]) bounds = Bbox(startcoord, startcoord + volshape) iterator = tc.create_overlap_tasks(config["output"], config["baseseg"], config["storagestrs"][0], bounds=bounds, shape=config["chunkshape"], mip=config["voxelres"]) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename): config = parser.parse(configfilename) startcoord = Vec(*config["startcoord"]) volshape = Vec(*config["volshape"]) bounds = Bbox(startcoord, startcoord + volshape) iterator = tc.create_chunk_edges_tasks( config["image"], config["tempoutput"], config["baseseg"], storagestr=config["storagestrs"][0], hashmax=config["nummergetasks"], storagedir=config["storagestrs"][1], bounds=bounds, chunkshape=config["chunkshape"], patchsz=config["patchshape"], resolution=config["voxelres"]) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename): config = parser.parse(configfilename) startcoord = Vec(*config["startcoord"]) volshape = Vec(*config["volshape"]) bounds = Bbox(startcoord, startcoord + volshape) iterator = tc.create_connected_component_tasks( config["descriptor"], config["tempoutput"], storagestr=config["storagestrs"][0], storagedir=config["storagestrs"][1], cc_thresh=config["ccthresh"], sz_thresh=config["dustthresh"], bounds=bounds, shape=config["chunkshape"], mip=config["voxelres"], hashmax=config["nummergetasks"]) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename, tagfilename=None): config = parser.parse(configfilename) if tagfilename is not None: bboxes = io.utils.read_bbox_tag_filename(tagfilename) else: bboxes = None iterator = tc.create_fixsegids_tasks( storagestr=config["storagestrs"][0], hashmax=config["nummergetasks"], volshape=config["volshape"], chunkshape=config["chunkshape"], startcoord=config["startcoord"], aggscratchpath=config["aggscratchpath"], aggchunksize=config["aggchunksize"], aggmaxmip=config["aggmaxmip"], aggstartcoord=config["startcoord"], bboxes=bboxes) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)
def main(configfilename, tagfilename=None): config = parser.parse(configfilename) if tagfilename is not None: bboxes = io.utils.read_bbox_tag_filename(tagfilename) else: bboxes = None iterator = tc.create_connected_component_tasks( config["descriptor"], config["tempoutput"], storagestr=config["storagestrs"][0], storagedir=config["storagestrs"][1], ccthresh=config["ccthresh"], szthresh=config["dustthresh"], volshape=config["volshape"], chunkshape=config["chunkshape"], startcoord=config["startcoord"], resolution=config["voxelres"], hashmax=config["nummergetasks"], bboxes=bboxes) tq = TaskQueue(config["queueurl"]) tq.insert_all(iterator)