Hmmzz… I am discovering something very weird… I get -1000 on some slices, any one else sees this?
A single shot Resample is not going to work, since for the Resample node you are inserting an array of 1x768 slices. It doesn’t know you are working with rows and columns.
The idea is, take every 4 slices, look at the average (use: mean (spectral) ) and if they are above 0.5, than that cluster will become a one.
Next we rotate the grid (use: SwapDim (spreads) ) and we do that again, than we rotate it back.
I made a patch, and the idea works :)
edit: You could replace Mean with Resample (Mode: Linear, Binsize -4) but the debugging mode says that mean is better for performance.
@west: don’t worry about the -1000. 1000/-1000 is the default for an ioboxes max/min. so it seems that this iobox was a normal one before having been turned into toggles and not all toggles have been triggered at least once to set its value to 0/1. something like that…