SuperpixelSlic image grainy
问题 im doing an android project with opencv library and im using superpixelslic algorithm.After i applied the algorithm on some devices the image looks like grainy like this: This is my superpixel code: newMat=new Mat(); Utils.bitmapToMat(image,newMat,true); SuperpixelSLIC x= Ximgproc.createSuperpixelSLIC(newMat, Ximgproc.SLIC,rows/9,(float)25); x.iterate(num_iterations); if (min_element_size>0) x.enforceLabelConnectivity(min_element_size); Mat mask=new Mat(); x.getLabelContourMask(mask,true);