-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
Description
#include <opencv2/opencv.hpp>
#include <opencv2/ximgproc.hpp>
using namespace cv;
using namespace cv::ximgproc;
int main(int argc, char **argv)
{
Mat image = imread("im/lena.png"); //512x512
Ptr<SuperpixelSLIC> slic = createSuperpixelSLIC(image, SLICO, 10, 10.0f) ;
return 0;
}
breaks here , m_numlabels=2621, m_kseedsx.size()=2601
actually, it works, when choosing a larger region, like 12
for context, see here