Lines Matching refs:Vec3d
63 double operator()( const Vec3d color ) const;
64 double operator()( int ci, const Vec3d color ) const;
65 int whichComponent( const Vec3d color ) const;
68 void addSample( int ci, const Vec3d color );
109 double GMM::operator()( const Vec3d color ) const
117 double GMM::operator()( int ci, const Vec3d color ) const
123 Vec3d diff = color;
134 int GMM::whichComponent( const Vec3d color ) const
164 void GMM::addSample( int ci, const Vec3d color )
240 Vec3d color = img.at<Vec3b>(y,x);
243 Vec3d diff = color - (Vec3d)img.at<Vec3b>(y,x-1);
248 Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x-1);
253 Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x);
258 Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x+1);
286 Vec3d color = img.at<Vec3b>(y,x);
289 Vec3d diff = color - (Vec3d)img.at<Vec3b>(y,x-1);
296 Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x-1);
303 Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x);
310 Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x+1);
408 Vec3d color = img.at<Vec3b>(p);