WARNING: DO NOT REAP USING THE CODE. JUST USE IT TO FIND THE DUPE, THEN REFRESH THE PAGE AND THEN REMOVE THE DUPE AND REAP. Otherwise there might be some segs invisible in 3D and problematic to remove.
- Inspect a cube.
- Open Console (F12).
- Paste the code below and press Enter:
tomni.cm.regenSegmentationColors=function(){return tomni.segcolor};
$.each(tomni.task.duplicates,function(i,v){$.each(v.duplicate_segs,function(j,w){tomni.segcolor[w.toString()]={a:1,r:255,g:255,b:255}})});
- Move cursor anywhere over the 2D or 3D.
All dupe segments should change to white, e.g.:
AFAIK, there are usually no white segs in the Zfish dataset, so it should be easier to spot dupe segs that way.
If anyone wants some other color, just change values in the {a:1,r:255,g:255,b:255} object - a, is for alpha, or transparency, and r, g and b, are, accordingly, red, green and blue. Values can be from 0 to 255 for colors and from 0 to 1 for alpha.
Important: Refresh the page after using the hack.