Wrote filter to change GrainIds to 0 based on bool array (bridge from threshold output to grainid==0 based processing filters)