ankitdhall/imageSegmentation

bug

smilethensee opened this issue · 1 comments

int nextSegment = (int)col.at(next.yjump, next.xjump);
int nextTotalPixels = pixelsInArea[nextSegment-1];

here, when the value nextSegment is 24, the size of pixelsInArea is 14, so erros occured, vector subscript out of range.

We encountered the same error