Re: image segmentation error (tuple index out of range)