LSC
  • 2024-07-14OpenCV图像处理——霍夫圆检测与最小二乘法拟合圆
    HoughCircles:霍夫圆检测voidHoughCircles(InputArrayimage,OutputArraycircles,intmethod,doubledp,doubleminDist,doubleparam1=100,doubleparam2=100,intminRadius=0,intmaxRadius=0);image:输入,8-bit单通道灰度图circles:输出,vector,含有3或
  • 2024-05-26opencv超级像素示例
       /**createSuperpixelLSC(cv::InputArrayimg,intregion_size,floatratio)其中各个参数意义如下:    image:输入图像    region_size:平均超像素大小,默认10    ratio:超像素紧凑度因子,默认0.075*/voidsuperpixelLSC(constMat&img){cv::Ptr<