I have an image and I want to make a selection. First of all, I need to connect zeros between pixels so that [1,2,3] is converted to [1,0,2,0,3]. Can anyone tell me how to do this without using
or using loops
Thank you in advance!