Closed xulman closed 4 years ago
examples:
syncer.syncLabel(1)
imgWithOneSegThatCorrespondsToTraMarker1 = syncer.fuse(inputSegs,inputTRA)
or
syncer.syncAll()
imgWithAllSegThatCorrespondToTheirTRAMarkers = syncer.fuser(inputSegs, inputTRA)
this seems to have been added in commit 2e7f916c0e46e5ac79996690bd2dec4749417489
for the GUI filename template.. like we have now with XXXXes... so now something like whatEverFilenameTTTT_IIII_LLLL_whatEversuffix.tif when TTTT would be replaced with timepoint IIII with input number LLL with label value we are currently doing the same thing with XXXX... placeholder where timepoint number will be inserted (padded with zeros so that the width is the number of Xes) do you think this will be okay for people to use?
IIII is 0-based, TTTT-is 0-based LLL is the actual label
well, I would abuse the fusion scheme to have a special fuser... that actually does not fuse anything but returns synced images instead, one will however have control on what is returned (image with one, few, all segments synced) and would create a static method next to it that would iterate this process and will allow user to populate a harddrive with many files
and this method shall be accessible from the plugin GUI (the screen shot above and the maskTTTT_inputIIII_labelLLL.tif naming scheme)