imageSegmentation icon indicating copy to clipboard operation
imageSegmentation copied to clipboard

Image Segmentation using Texture and Color features in C++

Results 6 imageSegmentation issues
Sort by recently updated
recently updated
newest added

int nextSegment = (int)col.at(next.y*jump, next.x*jump); 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.

I run the official demo, but there is a core-dumped. int seedTotalPixels = pixelsInArea[seedSegment-1]; When seedSegment is 0, core dump with OpenCV 3.3.1

I try to compile it but it does not result me... ``` g++ -lm `pkg-config --cflags opencv` -o color.o -c color.cpp g++ -lm `pkg-config --cflags opencv` -o histogram.o -c histogram.cpp...

in texture.cpp a function named: Mat segmentTexture() has a loop question: do { seedPoint.x=rng.uniform(0, texture.cols); seedPoint.y=rng.uniform(0, texture.rows); seed=texture.at(seedPoint.y, seedPoint.x); } while(mark.at(seedPoint.y, seedPoint.x) !=0 ); if this region are all 0,...

I keep getting core dumped error on several images i tried what could the reason be ? I attached one of the images below that i tired. ![a](https://user-images.githubusercontent.com/25553965/48792435-eef8da00-ecfc-11e8-99bc-b75d588923eb.JPG)

Thank you for sharing the code! But can you share the theory about color and texture , my theory is very bad . Best wish!!!