I would like to add one empty slice in first and last position of a mask stack in order to be able to fill the holes in 3D that would be otherwise in contact with the first and last slice.
I came up with the following way, but I suspect that there might be a more straight forward way of doing it. If there is a better way, could you please indicate it to me ?
Thank you very much!
run("MRI Stack (528K)"); rename("stack"); run("Duplicate...", " "); run("Select All"); run("Clear"); rename("Empty slice"); run("Concatenate...", "keep open image1=[Empty slice] image2=[stack] image3=[Empty slice] image4=[-- None --]");