Sorry, Hough Circles implementation changes in the meantime and I forgot
about this lines.

Mat tt;
buf.accum.download(tt);

just before this code.
I will correct it and make a commit.


2014-02-15 18:25 GMT+01:00 Vladislav Vinogradov <notifications@github.com>:

> In modules/cudaimgproc/src/hough_circles.cpp:
>
> > @@ -219,9 +222,21 @@
> >
> >              const float minDist2 = minDist_ * minDist_;
> >
> > +            vector<Vec3f> sortBuf;
> > +            for(int i=0; i<centersCount; i++){
> > +                Vec3f temp;
> > +                temp[0] = oldBuf[i].x;
> > +                temp[1] = oldBuf[i].y;
> > +                temp[2] = tt.at<int>(temp[1]+1, temp[0]+1);
>
> I can't find tt variable declaration.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/Itseez/opencv/pull/2347/files#r9773548>
> .
>