imageSegmentation
imageSegmentation copied to clipboard
Image Segmentation using Texture and Color features in C++
bug
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. 
Thank you for sharing the code! But can you share the theory about color and texture , my theory is very bad . Best wish!!!