SLIC and LSC stray pixels

asked 2017-08-18 07:27:12 -0600

Nbb gravatar image

updated 2017-08-20 22:00:33 -0600

I am using SLIC with 100 superpixels in my application and and am wondering if the result I get below is normal. I seem to get a lot of 'noise' at certain regions in the image. Is there any way to fix this or would it be better for me to just run the original implementation ? These are the parameters I supplied to the algorithm. t is just the region size. I forgot the value I used to get 100 superpixels. LSC and SLIC both give me the results like below. SEEDS is the only algorithm that works.

cv::Ptr<cv::ximgproc::SuperpixelSLIC> slic = cv::ximgproc::createSuperpixelSLIC(image, 101, t,  10.f); 
slic->iterate(4);

image description

image description

edit retag flag offensive close merge delete

Comments

what about using SLICO, SEEDS or LSC ?

berak gravatar imageberak ( 2017-08-18 07:35:40 -0600 )edit

hi berak. yes I still get the same results using slico and lsc. SEEDS is the only one that looks right

Nbb gravatar imageNbb ( 2017-08-20 21:21:33 -0600 )edit

Can you post original image?

LBerger gravatar imageLBerger ( 2017-08-20 23:35:10 -0600 )edit